Changeset 251 in dev for trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
- Timestamp:
- Jul 30, 2007, 2:00:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
r248 r251 244 244 extern HANDLE hHeap; 245 245 extern BOOL bDebugCompile; 246 int i3,i4,LocalVarSchedule, EspOffsetSchedule,BaseOffset;246 int i3,i4,LocalVarSchedule,BaseOffset; 247 247 char temporary[VN_SIZE]; 248 248 … … 440 440 compiler.codeGenerator.ClearContinueArea(); 441 441 442 const PertialSchedule *pEspOffsetPertialSchedule = NULL; 442 443 if(bDebugCompile&&bDebugSupportProc==0){ 443 444 //push dword ptr[ebp+(AllLocalVarSize-BaseOffset)](スケジュール) 444 OpBuffer[obp++]=(char)0xFF; 445 OpBuffer[obp++]=(char)0xB5; 446 EspOffsetSchedule=obp; 447 obp+=sizeof(long); 445 pEspOffsetPertialSchedule = compiler.codeGenerator.op_push_M( REG_EBP, 0, Schedule::None, true ); 448 446 449 447 //push dword ptr[ebp](以前のebp) … … 621 619 622 620 if(bDebugCompile&&bDebugSupportProc==0){ 623 *((long *)(OpBuffer+EspOffsetSchedule))=AllLocalVarSize-BaseOffset-sizeof(long);621 compiler.codeGenerator.opfix( pEspOffsetPertialSchedule, AllLocalVarSize-BaseOffset-sizeof(long) ); 624 622 625 623 //call _DebugSys_EndProc
Note:
See TracChangeset
for help on using the changeset viewer.