Ignore:
Timestamp:
Nov 6, 2007, 2:35:15 AM (16 years ago)
Author:
dai_9181
Message:

Try-Catchを試験的に実装。
(まだ下記の動作しか実装していません)
・Try
・Catch(パラメータ無し)
・Throw(パラメータ無し)

File:
1 edited

Legend:

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

    r355 r358  
    100100        UserProc::CompileStartForUserProc( pBackUserProc );
    101101
    102 
    103         //ret
    104         compiler.codeGenerator.op_ret();
    105     }
    106     else if( userProc.GetName() == "_System_GetSp" ){
    107         //mov eax,esp
    108         compiler.codeGenerator.op_mov_RR(REG_EAX,REG_ESP);
    109 
    110         //add eax,PTR_SIZE
    111         compiler.codeGenerator.op_add_RV8(REG_EAX,PTR_SIZE);
    112102
    113103        //ret
Note: See TracChangeset for help on using the changeset viewer.