Changeset 759 in dev for branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src
- Timestamp:
- Sep 26, 2008, 11:49:14 PM (16 years ago)
- Location:
- branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/CommonCodeGenerator.cpp
r750 r759 3 3 #include <CodeGenerator.h> 4 4 5 #if def _AMD64_5 #if defined _AMD64_ || defined BUILD_X64_COMPILER 6 6 #include "../../compiler_x64/opcode.h" 7 7 #else … … 329 329 void CodeGenerator::op_AddNeedFreeTempStructure( int reg ) 330 330 { 331 #if def _AMD64_331 #if defined _AMD64_ || defined BUILD_X64_COMPILER 332 332 ////////////////////////////////////////////////////// 333 333 ///// レジスタ資源のバックアップ -
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/Exception.cpp
r750 r759 1 1 #include "stdafx.h" 2 2 3 #if def _AMD64_3 #if defined _AMD64_ || defined BUILD_X64_COMPILER 4 4 #include "../../compiler_x64/opcode.h" 5 5 #else … … 395 395 } 396 396 397 #if def _WIN64397 #if defined _WIN64 || defined BUILD_X64_COMPILER 398 398 //mov rax,catchAddress 399 399 const PertialSchedule *pPertialSchedule = compiler.codeGenerator.op_mov_RV( sizeof(long), REG_RAX, 0, Schedule::DataTable, true ); … … 408 408 int dataTableOffset = compiler.GetObjectModule().dataTable.Add( static_cast<LONG_PTR>(0) ); 409 409 410 #if def _WIN64410 #if defined _WIN64 || defined BUILD_X64_COMPILER 411 411 //mov rax,dataTableOffset 412 412 compiler.codeGenerator.op_mov_RV( sizeof(_int64), REG_RAX, dataTableOffset, Schedule::DataTable); … … 426 426 } 427 427 428 #if def _WIN64428 #if defined _WIN64 || defined BUILD_X64_COMPILER 429 429 //mov rax,finallyAddress 430 430 const PertialSchedule *pPertialSchedule = compiler.codeGenerator.op_mov_RV( sizeof(long), REG_RAX, 0, Schedule::CatchAddress, true ); … … 439 439 int dataTableOffset = compiler.GetObjectModule().dataTable.Add( static_cast<LONG_PTR>(0) ); 440 440 441 #if def _WIN64441 #if defined _WIN64 || defined BUILD_X64_COMPILER 442 442 //mov rax,dataTableOffset 443 443 compiler.codeGenerator.op_mov_RV( sizeof(_int64), REG_RAX, dataTableOffset, Schedule::DataTable); -
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Class.cpp
r750 r759 2 2 3 3 #include "../common.h" 4 #if def _AMD64_4 #if defined _AMD64_ || defined BUILD_X64_COMPILER 5 5 #include "../../compiler_x64/opcode.h" 6 6 #else -
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/LexicalScope.cpp
r750 r759 6 6 #include "../common.h" 7 7 8 #if def _AMD64_8 #if defined _AMD64_ || defined BUILD_X64_COMPILER 9 9 #include "../../compiler_x64/opcode.h" 10 10 #else … … 125 125 //メモリを解放する 126 126 127 #if def _AMD64_127 #if defined _AMD64_ || defined BUILD_X64_COMPILER 128 128 //x64ビットコード 129 129 -
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/Linker.cpp
r750 r759 22 22 if( schedule.GetType() == Schedule::DataTable ) 23 23 { 24 #if def _WIN6424 #if defined _WIN64 || defined BUILD_X64_COMPILER 25 25 dataTable.OverwriteInt64( 26 26 schedule.GetOffset(), … … 62 62 { 63 63 // 置き換える値が0の場合を除く 64 #if def _WIN6464 #if defined _WIN64 || defined BUILD_X64_COMPILER 65 65 dataTable.OverwriteInt64( 66 66 schedule.GetOffset(), … … 85 85 if( schedule.GetType() == Schedule::DllProc ) 86 86 { 87 #if def _AMD64_87 #if defined _AMD64_ || defined BUILD_X64_COMPILER 88 88 nativeCode.Overwrite( 89 89 schedule.GetOffset(), … … 192 192 LONG_PTR vtblOffset = schedule.GetClass().GetComVtblOffset(); 193 193 194 #if def _WIN64194 #if defined _WIN64 || defined BUILD_X64_COMPILER 195 195 dataTable.OverwriteInt64( 196 196 schedule.GetOffset(), … … 209 209 LONG_PTR vtblMasterListOffset = schedule.GetClass().GetVtblMasterListOffset(); 210 210 211 #if def _WIN64211 #if defined _WIN64 || defined BUILD_X64_COMPILER 212 212 dataTable.OverwriteInt64( 213 213 schedule.GetOffset(), … … 232 232 LONG_PTR typeInfoDataTableOffset = schedule.GetClass().GetTypeInfoDataTableOffset(); 233 233 234 #if def _WIN64234 #if defined _WIN64 || defined BUILD_X64_COMPILER 235 235 dataTable.OverwriteInt64( 236 236 schedule.GetOffset(), -
branches/x64_compiler_on_32/abdev/BasicCompiler_Common/src/ProcedureGenerator.cpp
r750 r759 1 1 #include "stdafx.h" 2 2 3 #if def _AMD64_3 #if defined _AMD64_ || defined BUILD_X64_COMPILER 4 4 #include "../../compiler_x64/opcode.h" 5 5 #else
Note:
See TracChangeset
for help on using the changeset viewer.