Changeset 75 in dev for BasicCompiler_Common/gc.cpp
- Timestamp:
- Mar 20, 2007, 4:36:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/gc.cpp
r11 r75 12 12 void InitGCVariables(void){ 13 13 char temporary[255]; 14 int type;15 RELATIVE_VAR RelativeVar;16 LONG_PTR lpIndex;17 14 18 15 … … 24 21 OpcodeDim(temporary,0); 25 22 26 GetVarOffsetReadWrite("_System_gc_GlobalRoot_StartPtr",&type,&RelativeVar,&lpIndex); 23 Type type; 24 RELATIVE_VAR RelativeVar; 25 GetVarOffsetReadWrite("_System_gc_GlobalRoot_StartPtr",&RelativeVar,type); 27 26 28 27 //mov rax,ptr … … 44 43 OpcodeDim(temporary,0); 45 44 46 GetVarOffsetReadWrite("_System_gc_GlobalRoot_Size",& type,&RelativeVar,&lpIndex);45 GetVarOffsetReadWrite("_System_gc_GlobalRoot_Size",&RelativeVar,type); 47 46 48 47 //mov rax,ptr … … 65 64 OpcodeDim(temporary,0); 66 65 67 GetVarOffsetReadWrite("_System_gc_StackRoot_StartPtr",& type,&RelativeVar,&lpIndex);66 GetVarOffsetReadWrite("_System_gc_StackRoot_StartPtr",&RelativeVar,type); 68 67 69 68 //mov rax,rsp
Note:
See TracChangeset
for help on using the changeset viewer.