Changeset 287 in dev for trunk/abdev/BasicCompiler32
- Timestamp:
- Aug 16, 2007, 7:55:02 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/BasicCompiler.vcproj
r273 r287 1411 1411 > 1412 1412 <File 1413 RelativePath="..\BasicCompiler_Common\include\Binary.h" 1414 > 1415 </File> 1416 <File 1413 1417 RelativePath="..\BasicCompiler_Common\include\BoostSerializationSupport.h" 1414 1418 > -
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r283 r287 507 507 } 508 508 509 CompileMessage( "リンク中..." ); 510 509 511 510 512 compiler.linker.Link( compiler.GetObjectModule() ); … … 827 829 extern BOOL bError; 828 830 if(bDebugCompile&&bError==0){ 831 CompileMessage( "デバッグ情報を生成しています。" ); 832 829 833 pobj_DebugSection->make(); 834 835 CompileMessage( "デバッグ情報の生成が完了しました。" ); 830 836 } 831 837 … … 1471 1477 WriteFile( 1472 1478 hFile, 1473 compiler.linker.GetNativeCode().Get CodeBuffer(),1479 compiler.linker.GetNativeCode().GetBuffer(), 1474 1480 compiler.linker.GetNativeCode().GetSize(), 1475 1481 (DWORD *)&i2, -
trunk/abdev/BasicCompiler32/x86CodeGenerator.cpp
r282 r287 82 82 } 83 83 84 pNativeCode->Put ( disp, scheduleType );84 pNativeCode->PutEx( disp, scheduleType ); 85 85 } 86 86 … … 139 139 pPertialSchedule = pertialSchedules.back(); 140 140 } 141 pNativeCode->Put ( offset, offsetScheduleType );141 pNativeCode->PutEx( offset, offsetScheduleType ); 142 142 143 143 pNativeCode->Put( (char)value ); … … 154 154 pPertialSchedule = pertialSchedules.back(); 155 155 } 156 pNativeCode->Put ( offset, offsetScheduleType );156 pNativeCode->PutEx( offset, offsetScheduleType ); 157 157 158 158 pNativeCode->Put( (short)value ); … … 168 168 pPertialSchedule = pertialSchedules.back(); 169 169 } 170 pNativeCode->Put ( offset, offsetScheduleType );171 172 pNativeCode->Put ( value, valueScheduleType );170 pNativeCode->PutEx( offset, offsetScheduleType ); 171 172 pNativeCode->PutEx( value, valueScheduleType ); 173 173 } 174 174 … … 182 182 183 183 //DISP32 184 pNativeCode->Put ( offset, scheduleType );184 pNativeCode->PutEx( offset, scheduleType ); 185 185 } 186 186 void CodeGenerator::op_mov_RR(int reg1,int reg2){ … … 245 245 pPertialSchedule = pertialSchedules.back(); 246 246 } 247 pNativeCode->Put ( offset, scheduleType );247 pNativeCode->PutEx( offset, scheduleType ); 248 248 } 249 249 else{ … … 312 312 pPertialSchedule = pertialSchedules.back(); 313 313 } 314 pNativeCode->Put ( offset, scheduleType );314 pNativeCode->PutEx( offset, scheduleType ); 315 315 } 316 316 else{ … … 468 468 pPertialSchedule = pertialSchedules.back(); 469 469 } 470 pNativeCode->Put ( offset, scheduleType );470 pNativeCode->PutEx( offset, scheduleType ); 471 471 472 472 return pPertialSchedule; … … 777 777 //push 32ビット値 778 778 pNativeCode->Put( (char)0x68 ); 779 pNativeCode->Put ( data, scheduleType );779 pNativeCode->PutEx( data, scheduleType ); 780 780 } 781 781 } … … 1002 1002 pPertialSchedule = pertialSchedules.back(); 1003 1003 } 1004 pNativeCode->Put ( offset, scheduleType );1004 pNativeCode->PutEx( offset, scheduleType ); 1005 1005 1006 1006 return pPertialSchedule; … … 1039 1039 pPertialSchedule = pertialSchedules.back(); 1040 1040 } 1041 pNativeCode->Put ( offset, scheduleType );1041 pNativeCode->PutEx( offset, scheduleType ); 1042 1042 } 1043 1043 else{ … … 1099 1099 pPertialSchedule = pertialSchedules.back(); 1100 1100 } 1101 pNativeCode->Put ( offset, scheduleType );1101 pNativeCode->PutEx( offset, scheduleType ); 1102 1102 1103 1103 return pPertialSchedule; … … 1136 1136 pPertialSchedule = pertialSchedules.back(); 1137 1137 } 1138 pNativeCode->Put ( offset, scheduleType );1138 pNativeCode->PutEx( offset, scheduleType ); 1139 1139 } 1140 1140 else{
Note:
See TracChangeset
for help on using the changeset viewer.