Ignore:
Timestamp:
Jul 29, 2007, 9:30:14 PM (17 years ago)
Author:
dai_9181
Message:

Selectステートメントのスケジュール機構をリファクタリング

File:
1 edited

Legend:

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

    r244 r250  
    8989        compiler.codeGenerator.op_sub_RV8(REG_EBX,1);
    9090
    91         //jnz ↑
    92         OpBuffer[obp++]=(char)0x0F;
    93         OpBuffer[obp++]=(char)0x85;
    94         *((long *)(OpBuffer+obp))=jnz_back-(obp+sizeof(long));
    95         obp+=sizeof(long);
     91        //jne ↑
     92        compiler.codeGenerator.op_jne( jnz_back-obp, sizeof(long), false, true );
    9693    }
    9794}
     
    293290    compiler.codeGenerator.op_sub_RV8(REG_EBX,1);
    294291
    295     //jnz ↑
    296     OpBuffer[obp++]=(char)0x0F;
    297     OpBuffer[obp++]=(char)0x85;
    298     *((long *)(OpBuffer+obp))=jnz_back-(obp+sizeof(long));
    299     obp+=sizeof(long);
     292    //jne ↑
     293    compiler.codeGenerator.op_jne( jnz_back-obp, sizeof(long), false, true );
    300294
    301295
Note: See TracChangeset for help on using the changeset viewer.