Changeset 236 in dev for trunk/abdev/BasicCompiler32/Compile_Var.cpp
- Timestamp:
- Jul 25, 2007, 12:17:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Var.cpp
r234 r236 137 137 138 138 //imul eax,i4 139 OpBuffer[obp++]=(char)0x69; 140 OpBuffer[obp++]=(char)0xC0; 141 *((long *)(OpBuffer+obp))=i4; 142 obp+=sizeof(long); 139 compiler.codeGenerator.op_imul_RV( REG_EAX, i4 ); 143 140 144 141 //add dword ptr[esp],eax … … 154 151 155 152 //imul eax,TypeSize 156 OpBuffer[obp++]=(char)0x69; 157 OpBuffer[obp++]=(char)0xC0; 158 *((long *)(OpBuffer+obp)) = type.GetSize(); 159 obp+=sizeof(long); 153 compiler.codeGenerator.op_imul_RV( REG_EAX, type.GetSize() ); 160 154 161 155 //pop ecx
Note:
See TracChangeset
for help on using the changeset viewer.