Changeset 290 in dev for trunk/abdev/BasicCompiler32/Compile_Calc_PushVar.cpp
- Timestamp:
- Aug 21, 2007, 11:00:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Calc_PushVar.cpp
r253 r290 59 59 } 60 60 } 61 void SetReg_WholeVariable(int type,RELATIVE_VAR *pRelativeVar,int reg, bool is64Head){ 61 void SetReg_WholeVariable( Type &type, RELATIVE_VAR *pRelativeVar,int reg, bool is64Head) 62 { 62 63 int varSize; 63 64 64 varSize =GetTypeSize(type,-1);65 varSize = type.GetSize(); 65 66 66 67 if(varSize==sizeof(_int64)){ … … 72 73 73 74 //下位32ビットをeaxにロード 74 SetReg_WholeVariable( DEF_LONG,pRelativeVar,REG_EAX);75 SetReg_WholeVariable( Type(DEF_LONG),pRelativeVar,REG_EAX); 75 76 76 77 //上位32ビットをedxにロード 77 SetReg_WholeVariable( DEF_LONG,pRelativeVar,REG_EDX, true);78 SetReg_WholeVariable( Type(DEF_LONG),pRelativeVar,REG_EDX, true); 78 79 79 80 return;
Note:
See TracChangeset
for help on using the changeset viewer.