Changeset 243 in dev for trunk/abdev/BasicCompiler32


Ignore:
Timestamp:
Jul 27, 2007, 4:20:59 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r241 r243  
    780780
    781781    //jmp ...
    782     OpBuffer[obp++]=(char)0xE9;
    783     int je_schedule=obp;
    784     obp+=sizeof(long);
     782    CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
    785783
    786784    //レキシカルスコープをレベルダウン
    787785    GetLexicalScopes().End();
    788786
    789     *((long *)(OpBuffer+je_schedule))=obp-(je_schedule+sizeof(long)); //jmpジャンプ先のオフセット値
    790 
     787    //jmpジャンプ先のオフセット値
     788    compiler.codeGenerator.opfix_JmpPertialSchedule( pTempPertialSchedule );
    791789
    792790    //Continueアドレスを復元
Note: See TracChangeset for help on using the changeset viewer.