Ignore:
Timestamp:
Jul 30, 2007, 2:00:45 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp

    r248 r251  
    244244    extern HANDLE hHeap;
    245245    extern BOOL bDebugCompile;
    246     int i3,i4,LocalVarSchedule,EspOffsetSchedule,BaseOffset;
     246    int i3,i4,LocalVarSchedule,BaseOffset;
    247247    char temporary[VN_SIZE];
    248248
     
    440440    compiler.codeGenerator.ClearContinueArea();
    441441
     442    const PertialSchedule *pEspOffsetPertialSchedule = NULL;
    442443    if(bDebugCompile&&bDebugSupportProc==0){
    443444        //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 );
    448446
    449447        //push dword ptr[ebp](以前のebp)
     
    621619
    622620    if(bDebugCompile&&bDebugSupportProc==0){
    623         *((long *)(OpBuffer+EspOffsetSchedule))=AllLocalVarSize-BaseOffset-sizeof(long);
     621        compiler.codeGenerator.opfix( pEspOffsetPertialSchedule, AllLocalVarSize-BaseOffset-sizeof(long) );
    624622
    625623        //call _DebugSys_EndProc
Note: See TracChangeset for help on using the changeset viewer.