Changeset 357 in dev for trunk/abdev/BasicCompiler32/Compile_Func.cpp
- Timestamp:
- Nov 5, 2007, 3:26:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Func.cpp
r350 r357 18 18 if( lstrcmpi( FuncName, "__delegate_dynamicmethod_call" ) == 0 ) return FUNC_DELEGATE_DYNAMICMETHOD_CALL; 19 19 if( lstrcmpi( FuncName, "__delegate_staticmethod_call" ) == 0 ) return FUNC_DELEGATE_STATICMETHOD_CALL; 20 if( lstrcmpi( FuncName, "_System_GetNowScopeCatchAddresses" ) == 0 )return FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS; 21 if( lstrcmpi( FuncName, "_System_GetBp" ) == 0 ) return FUNC_SYSTEM_GET_BP; 20 22 if( lstrcmpi( FuncName, "GetDouble" ) == 0 ) return FUNC_GETDOUBLE; 21 23 if( lstrcmpi( FuncName, "GetSingle" ) == 0 ) return FUNC_GETSINGLE; … … 575 577 resultType = UserProc::CompilingUserProc().ReturnType(); 576 578 } 579 void Opcode_Func_System_Get_Bp() 580 { 581 //mov eax,ebp 582 compiler.codeGenerator.op_mov_RR(REG_EAX,REG_EBP); 583 } 577 584 578 585 void Opcode_Func_GetPtrData(const char *Parameter,const int type){ … … 670 677 Opcode_Func_delegate_call( Parameter, resultType, false, isCallOn ); 671 678 break; 679 case FUNC_SYSTEM_GET_NOW_SCOPE_CATCH_ADDRESS: 680 if( isCallOn ) Exception::Opcode_Func_System_GetNowScopeCatchAddress(); 681 resultType.SetBasicType( DEF_LONG ); 682 break; 683 case FUNC_SYSTEM_GET_BP: 684 if( isCallOn ) Opcode_Func_System_Get_Bp(); 685 resultType.SetBasicType( DEF_LONG ); 686 break; 672 687 673 688 case FUNC_GETDOUBLE:
Note:
See TracChangeset
for help on using the changeset viewer.