Changeset 142 in dev for BasicCompiler32
- Timestamp:
- Jun 16, 2007, 1:36:21 AM (17 years ago)
- Location:
- BasicCompiler32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_ProcOp.cpp
r141 r142 11 11 12 12 //ret 13 OpBuffer[obp++]=(char)0xC3;13 op_ret(); 14 14 } 15 15 else if( userProc.GetName() == "_System_InitDllGlobalVariables" ){ … … 21 21 if(!bDll){ 22 22 //ret 23 OpBuffer[obp++]=(char)0xC3;23 op_ret(); 24 24 25 25 return; … … 56 56 57 57 //ret 58 OpBuffer[obp++]=(char)0xC3;58 op_ret(); 59 59 } 60 60 else if( userProc.GetName() == "_System_InitStaticLocalVariables" ){ … … 79 79 80 80 //ret 81 OpBuffer[obp++]=(char)0xC3;81 op_ret(); 82 82 } 83 83 else if( userProc.GetName() == "_System_Call_Destructor_of_GlobalObject" ){ … … 93 93 94 94 //ret 95 OpBuffer[obp++]=(char)0xC3;95 op_ret(); 96 96 } 97 97 else if( userProc.GetName() == "_System_GetSp" ){ … … 103 103 104 104 //ret 105 OpBuffer[obp++]=(char)0xC3;105 op_ret(); 106 106 } 107 107 else if( userProc.GetName() == "_allrem" ){ … … 778 778 779 779 if( BaseOffset==0 || pUserProc->IsCdecl() ){ 780 //ret 0781 OpBuffer[obp++]=(char)0xC3;780 //ret 781 op_ret(); 782 782 } 783 783 else{ -
BasicCompiler32/Compile_Statement.cpp
r135 r142 1316 1316 1317 1317 //ret 1318 OpBuffer[obp++]=(char)0xC3;1318 op_ret(); 1319 1319 } 1320 1320 else{ -
BasicCompiler32/MakePeHdr.cpp
r140 r142 444 444 445 445 //ret 446 OpBuffer[obp++]=(char)0xC3;446 op_ret(); 447 447 448 448 //グローバル実行領域のコードサイズ -
BasicCompiler32/Opcode.h
r140 r142 352 352 353 353 void op_call(UserProc *pUserProc); 354 void op_ret(); -
BasicCompiler32/op32_main.cpp
r97 r142 986 986 obp+=sizeof(long); 987 987 } 988 void op_ret(){ 989 OpBuffer[obp++]=(char)0xC3; 990 }
Note:
See TracChangeset
for help on using the changeset viewer.