Changeset 75 in dev for BasicCompiler_Common/gc.cpp


Ignore:
Timestamp:
Mar 20, 2007, 4:36:16 AM (18 years ago)
Author:
dai_9181
Message:

TYPEINFO→Typeへのリファクタリングを実施。64bitはほぼ完了。32bitが全般的に未完成。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/gc.cpp

    r11 r75  
    1212void InitGCVariables(void){
    1313    char temporary[255];
    14     int type;
    15     RELATIVE_VAR RelativeVar;
    16     LONG_PTR lpIndex;
    1714
    1815
     
    2421    OpcodeDim(temporary,0);
    2522
    26     GetVarOffsetReadWrite("_System_gc_GlobalRoot_StartPtr",&type,&RelativeVar,&lpIndex);
     23    Type type;
     24    RELATIVE_VAR RelativeVar;
     25    GetVarOffsetReadWrite("_System_gc_GlobalRoot_StartPtr",&RelativeVar,type);
    2726
    2827    //mov rax,ptr
     
    4443    OpcodeDim(temporary,0);
    4544
    46     GetVarOffsetReadWrite("_System_gc_GlobalRoot_Size",&type,&RelativeVar,&lpIndex);
     45    GetVarOffsetReadWrite("_System_gc_GlobalRoot_Size",&RelativeVar,type);
    4746
    4847    //mov rax,ptr
     
    6564    OpcodeDim(temporary,0);
    6665
    67     GetVarOffsetReadWrite("_System_gc_StackRoot_StartPtr",&type,&RelativeVar,&lpIndex);
     66    GetVarOffsetReadWrite("_System_gc_StackRoot_StartPtr",&RelativeVar,type);
    6867
    6968    //mov rax,rsp
Note: See TracChangeset for help on using the changeset viewer.