Changeset 359 in dev for trunk/abdev/BasicCompiler64


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

例外処理機構実装中…

Location:
trunk/abdev/BasicCompiler64
Files:
2 edited

Legend:

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

    r358 r359  
    1717    if( lstrcmpi( FuncName, "__delegate_staticmethod_call" ) == 0 )     return FUNC_DELEGATE_STATICMETHOD_CALL;
    1818    if( lstrcmpi( FuncName, "_System_GetNowScopeCatchAddresses" ) == 0 )return FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS;
     19    if( lstrcmpi( FuncName, "_System_GetNowScopeFinallyAddresses" ) == 0 )return FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS;
    1920    if( lstrcmpi( FuncName, "_System_GetBp" ) == 0 )    return FUNC_SYSTEM_GET_BP;
    2021    if( lstrcmpi( FuncName, "_System_GetSp" ) == 0 )    return FUNC_SYSTEM_GET_SP;
     
    510511            resultType.SetBasicType( DEF_PTR_VOID );
    511512            break;
     513        case FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS:
     514            if( isCallOn ) Exception::Opcode_Func_System_GetNowScopeFinallyAddress();
     515            resultType.SetBasicType( DEF_PTR_VOID );
     516            break;
    512517        case FUNC_SYSTEM_GET_BP:
    513518            if( isCallOn ) Opcode_Func_System_Get_Bp();
  • trunk/abdev/BasicCompiler64/FunctionValue.h

    r358 r359  
    1616#define FUNC_DELEGATE_DYNAMICMETHOD_CALL    0x0621
    1717#define FUNC_DELEGATE_STATICMETHOD_CALL     0x0622
    18 #define FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS 0x0623
    19 #define FUNC_SYSTEM_GET_BP  0x0624
    20 #define FUNC_SYSTEM_GET_SP  0x0625
    21 
     18#define FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS     0x0623
     19#define FUNC_SYSTEM_GET_NOW_SCOPE_FINALLY_ADDRESS   0x0624
     20#define FUNC_SYSTEM_GET_BP  0x0625
     21#define FUNC_SYSTEM_GET_SP  0x0626
    2222//ポインタ
    2323#define FUNC_GETDOUBLE      0x0630
Note: See TracChangeset for help on using the changeset viewer.