Changeset 348 in dev for trunk/abdev/BasicCompiler32
- Timestamp:
- Oct 12, 2007, 3:25:54 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
r347 r348 330 330 // ->func3 331 331 332 int vtblMasterListIndex, vtblIndex; 333 pobj_c->GetVtblMasterListIndexAndVtblIndex( pUserProc, vtblMasterListIndex, vtblIndex ); 334 332 335 // vtblマスターリストのポインタを取得 333 336 //mov edx,dword ptr[ecx] … … 336 339 // vtblのポインタを取得 337 340 //mov edx,dword ptr[edx+vtblMasterListIndex] 338 int vtblMasterListIndex = pobj_c->GetVtblMasterListIndex( pUserProc );339 341 compiler.codeGenerator.op_mov_RM( sizeof(long), REG_EDX, REG_EDX, vtblMasterListIndex, MOD_BASE_DISP32 ); 340 341 int vtblIndex = pobj_c->GetFuncNumInVtbl( pUserProc );342 342 343 343 //call dword ptr[edx+func_index] -
trunk/abdev/BasicCompiler32/Compile_Func.cpp
r342 r348 274 274 // ->func3 275 275 276 int vtblMasterListIndex, vtblIndex; 277 pobj_c->GetVtblMasterListIndexAndVtblIndex( &userProc, vtblMasterListIndex, vtblIndex ); 278 276 279 // vtblマスターリストのポインタを取得 277 280 //mov edx,dword ptr[ecx] … … 280 283 // vtblのポインタを取得 281 284 //mov edx,dword ptr[edx+vtblMasterListIndex] 282 int vtblMasterListIndex = pobj_c->GetVtblMasterListIndex( &userProc );283 285 compiler.codeGenerator.op_mov_RM( sizeof(long), REG_EDX, REG_EDX, vtblMasterListIndex, MOD_BASE_DISP32 ); 284 285 int vtblIndex = pobj_c->GetFuncNumInVtbl( &userProc );286 286 287 287 //mov eax,dword ptr[edx+func_index]
Note:
See TracChangeset
for help on using the changeset viewer.