Changeset 242 in dev for trunk/abdev/BasicCompiler64/Compile_Var.cpp
- Timestamp:
- Jul 27, 2007, 3:40:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_Var.cpp
r232 r242 862 862 863 863 //mov rax,DataPos 864 compiler.codeGenerator.op_mov_RV(sizeof(_int64),REG_RAX,i2); 865 obp-=sizeof(long); 866 pobj_DataTableSchedule->add(); 867 obp+=sizeof(long); 864 compiler.codeGenerator.op_mov_RV(sizeof(_int64),REG_RAX,i2, Schedule::DataTable ); 868 865 869 866 //mov qword ptr[offset],rax … … 1017 1014 1018 1015 //mov rax,i2 1019 compiler.codeGenerator.op_mov_RV(sizeof(_int64),REG_RAX,i2); 1020 obp-=sizeof(long); 1021 pobj_DataTableSchedule->add(); 1022 obp+=sizeof(long); 1016 compiler.codeGenerator.op_mov_RV(sizeof(_int64),REG_RAX,i2, Schedule::DataTable ); 1023 1017 1024 1018 //mov qword ptr[rsp+offset],rax 1025 compiler.codeGenerator.op_mov_MR(sizeof(_int64),REG_RAX,REG_RSP,offset,MOD_BASE_DISP32); 1026 obp-=sizeof(long); 1027 AddLocalVarAddrSchedule(); 1028 obp+=sizeof(long); 1019 compiler.codeGenerator.op_mov_MR(sizeof(_int64),REG_RAX,REG_RSP,offset,MOD_BASE_DISP32, Schedule::LocalVar ); 1029 1020 } 1030 1021 else{ … … 1034 1025 1035 1026 //mov qword ptr[rsp+offset],rax 1036 compiler.codeGenerator.op_mov_MR(sizeof(_int64),REG_RAX,REG_RSP,offset,MOD_BASE_DISP32); 1037 obp-=sizeof(long); 1038 AddLocalVarAddrSchedule(); 1039 obp+=sizeof(long); 1027 compiler.codeGenerator.op_mov_MR(sizeof(_int64),REG_RAX,REG_RSP,offset,MOD_BASE_DISP32, Schedule::LocalVar ); 1040 1028 } 1041 1029 else{ … … 1263 1251 if(pRelativeVar->bOffsetOffset){ 1264 1252 //add r11,qword ptr[rsp+offset] 1265 compiler.codeGenerator.op_add_RM( REG_R11, REG_RSP, (long)pRelativeVar->offset, MOD_BASE_DISP32, Schedule::LocalVar );1253 compiler.codeGenerator.op_add_RM( sizeof(_int64), REG_R11, REG_RSP, (long)pRelativeVar->offset, MOD_BASE_DISP32, Schedule::LocalVar ); 1266 1254 } 1267 1255 else{
Note:
See TracChangeset
for help on using the changeset viewer.