Ignore:
Timestamp:
Jul 27, 2007, 8:02:22 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r243 r245  
    140140    }
    141141
    142     CodeGenerator::PertialSchedule *pIfPertialSchedule = NULL;
     142    const CodeGenerator::PertialSchedule *pIfPertialSchedule = NULL;
    143143    if( !NumOpe(Parameter,Type(),tempType) ){
    144144        //NumOpe内でエラー
     
    207207
    208208        //jne
    209         CodeGenerator::PertialSchedule *pTempPertialSchedule1 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
     209        const CodeGenerator::PertialSchedule *pTempPertialSchedule1 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
    210210
    211211        //cmp ebx,0
     
    213213
    214214        //jne
    215         CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
     215        const CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
    216216
    217217        //jmp (endif、または else までジャンプ)
     
    252252    if(i2==ESC_ELSE){
    253253        //jmp (endifまで)
    254         CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
     254        const CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
    255255
    256256        compiler.codeGenerator.opfix_JmpPertialSchedule( pIfPertialSchedule );
     
    346346    if(!Parameter[0]) SetError(10,"While",cp);
    347347
    348     CodeGenerator::PertialSchedule *pWhilePertialSchedule = NULL;
     348    const CodeGenerator::PertialSchedule *pWhilePertialSchedule = NULL;
    349349    Type tempType;
    350350    if( !NumOpe(Parameter,Type(),tempType) ){
     
    414414
    415415        //jne
    416         CodeGenerator::PertialSchedule *pTempPertialSchedule1 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
     416        const CodeGenerator::PertialSchedule *pTempPertialSchedule1 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
    417417
    418418        //cmp ebx,0
     
    420420
    421421        //jne
    422         CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
     422        const CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jne( 0, sizeof(char), true );
    423423
    424424        //jmp (Wendまでジャンプ)
     
    492492
    493493    //jmp ...
    494     CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
     494    const CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
    495495
    496496    //Continueアドレスのバックアップとセット
     
    534534
    535535    //jmp [カウンタ減少の場合の判定を飛び越す]
    536     CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
     536    const CodeGenerator::PertialSchedule *pTempPertialSchedule2 = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
    537537
    538538    //jeジャンプ先のオフセット値
     
    601601    GetLexicalScopes().CallDestructorsOfScopeEnd();
    602602
    603     CodeGenerator::PertialSchedule *pDoPertialSchedule = NULL;
     603    const CodeGenerator::PertialSchedule *pDoPertialSchedule = NULL;
    604604
    605605    extern char *basbuf;
     
    780780
    781781    //jmp ...
    782     CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
     782    const CodeGenerator::PertialSchedule *pTempPertialSchedule = compiler.codeGenerator.op_jmp( 0, sizeof(long), true );
    783783
    784784    //レキシカルスコープをレベルダウン
Note: See TracChangeset for help on using the changeset viewer.