Changeset 359 in dev for trunk/abdev/BasicCompiler32


Ignore:
Timestamp:
Nov 9, 2007, 8:52:07 AM (17 years ago)
Author:
dai_9181
Message:

例外処理機構実装中…

Location:
trunk/abdev/BasicCompiler32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_Func.cpp

    r358 r359  
    1919    if( lstrcmpi( FuncName, "__delegate_staticmethod_call" ) == 0 )     return FUNC_DELEGATE_STATICMETHOD_CALL;
    2020    if( lstrcmpi( FuncName, "_System_GetNowScopeCatchAddresses" ) == 0 )return FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS;
     21    if( lstrcmpi( FuncName, "_System_GetNowScopeFinallyAddresses" ) == 0 )return FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS;
    2122    if( lstrcmpi( FuncName, "_System_GetBp" ) == 0 )    return FUNC_SYSTEM_GET_BP;
    2223    if( lstrcmpi( FuncName, "_System_GetSp" ) == 0 )    return FUNC_SYSTEM_GET_SP;
     
    687688            resultType.SetBasicType( DEF_PTR_VOID );
    688689            break;
     690        case FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS:
     691            if( isCallOn ) Exception::Opcode_Func_System_GetNowScopeFinallyAddress();
     692            resultType.SetBasicType( DEF_PTR_VOID );
     693            break;
    689694        case FUNC_SYSTEM_GET_BP:
    690695            if( isCallOn ) Opcode_Func_System_Get_Bp();
  • trunk/abdev/BasicCompiler32/FunctionValue.h

    r358 r359  
    1717#define FUNC_DELEGATE_DYNAMICMETHOD_CALL    0x0621
    1818#define FUNC_DELEGATE_STATICMETHOD_CALL     0x0622
    19 #define FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS 0x0623
    20 #define FUNC_SYSTEM_GET_BP  0x0624
    21 #define FUNC_SYSTEM_GET_SP  0x0625
     19#define FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS     0x0623
     20#define FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS   0x0624
     21#define FUNC_SYSTEM_GET_BP  0x0625
     22#define FUNC_SYSTEM_GET_SP  0x0626
    2223
    2324//ポインタ
Note: See TracChangeset for help on using the changeset viewer.