Ignore:
Timestamp:
Jul 26, 2007, 3:27:29 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r237 r240  
    732732        compiler.codeGenerator.op_cmp_RR( REG_ESP, REG_EBP );
    733733
    734         //jz 6(次のcallとbreakpointを飛び越す)
    735         OpBuffer[obp++]=(char)0x74;
    736         OpBuffer[obp++]=(char)0x06;
     734        //je 6(次のcallとbreakpointを飛び越す)
     735        compiler.codeGenerator.op_je( 6 );
    737736
    738737        //call _esp_error
     
    758757    else{
    759758        //ret BaseOffset(パラメータ分のスタック領域を解放)
    760         OpBuffer[obp++]=(char)0xC2;
    761         *((_int16 *)(OpBuffer+obp))=(_int16)BaseOffset;
    762         obp+=sizeof(_int16);
     759        compiler.codeGenerator.op_ret( (_int16)BaseOffset );
    763760    }
    764761
Note: See TracChangeset for help on using the changeset viewer.