Changeset 95 in dev for BasicCompiler64/MakePeHdr.cpp


Ignore:
Timestamp:
Apr 15, 2007, 1:34:02 AM (17 years ago)
Author:
dai_9181
Message:

RegisterGlobalRootsの自動生成に対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/MakePeHdr.cpp

    r91 r95  
    66// 特殊関数の構造体ポインタ
    77////////////////////////////
     8
     9// グローバル関数、静的メソッド
    810UserProc
    911    *pSub_System_StartupProgram,
     
    2426    *pSub_System_GC_free_for_SweepingDelete,
    2527    *pSubStaticMethod_System_TypeBase_InitializeUserTypes;
     28
     29// 動的メソッド
     30UserProc
     31    *pUserProc_System_CGarbageCollection_RegisterGlobalRoots;
    2632
    2733
     
    231237        pSubStaticMethod_System_TypeBase_InitializeUserTypes->Using();
    232238        pSubStaticMethod_System_TypeBase_InitializeUserTypes->ThisIsAutoGenerationProc();
     239    }
     240
     241    if( pUserProc_System_CGarbageCollection_RegisterGlobalRoots = GetClassMethod( "_System_CGarbageCollection", "RegisterGlobalRoots" ) ){
     242        pUserProc_System_CGarbageCollection_RegisterGlobalRoots->Using();
     243        pUserProc_System_CGarbageCollection_RegisterGlobalRoots->ThisIsAutoGenerationProc();
    233244    }
    234245
Note: See TracChangeset for help on using the changeset viewer.