Changeset 584 in dev for trunk/ab5.0/abdev/compiler_x64/Compile_Func.cpp
- Timestamp:
- May 10, 2008, 12:19:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x64/Compile_Func.cpp
r528 r584 120 120 SetThisPtrToReg(REG_RCX); 121 121 122 pobj_c =compiler.pCompilingClass;122 pobj_c = &compiler.GetCompilingClass(); 123 123 } 124 124 … … 295 295 { 296 296 // 左辺でデリゲートを要求されているとき 297 const Delegate *pTempDelegate = & baseType.GetClass().GetDelegate();297 const Delegate *pTempDelegate = &compiler.GetObjectModule().meta.ToDelegate( baseType.GetClass() ); 298 298 pBaseParams = &pTempDelegate->Params(); 299 299 pBaseReturnType = &pTempDelegate->ReturnType(); … … 474 474 } 475 475 476 Opcode_CallDelegate( compiler. pCompilingClass->GetDelegate(), methodPtrParamStr, objPtrValueStr, paramsStr + i );477 } 478 479 resultType = UserProc::CompilingUserProc().ReturnType();476 Opcode_CallDelegate( compiler.GetObjectModule().meta.ToDelegate( compiler.GetCompilingClass() ), methodPtrParamStr, objPtrValueStr, paramsStr + i ); 477 } 478 479 resultType = compiler.GetCompilingUserProc().ReturnType(); 480 480 } 481 481
Note: See TracChangeset
for help on using the changeset viewer.