Ignore:
Timestamp:
Nov 2, 2007, 2:53:56 AM (16 years ago)
Author:
dai_9181
Message:

静的領域に初期オブジェクトを配置可能にした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/MakePeHdr.cpp

    r342 r355  
    4242    *pSub_System_GC_free_for_SweepingDelete,
    4343    *pSubStaticMethod_System_TypeBase_InitializeUserTypes,
     44    *pSubStaticMethod_System_TypeBase_InitializeUserTypesForBaseType,
    4445
    4546    *pSub_allrem,
     
    282283        pSubStaticMethod_System_TypeBase_InitializeUserTypes->Using();
    283284        pSubStaticMethod_System_TypeBase_InitializeUserTypes->ThisIsAutoGenerationProc();
     285    }
     286   
     287    if( pSubStaticMethod_System_TypeBase_InitializeUserTypesForBaseType = GetSubHash( "ActiveBasic.Core._System_TypeBase.InitializeUserTypesForBaseType",1 ) ){
     288        pSubStaticMethod_System_TypeBase_InitializeUserTypesForBaseType->Using();
     289        pSubStaticMethod_System_TypeBase_InitializeUserTypesForBaseType->ThisIsAutoGenerationProc();
    284290    }
    285291
     
    10691075    }
    10701076
     1077    compiler.linker.SetDataTable( compiler.GetObjectModule().dataTable );
    10711078
    10721079    compiler.linker.SetImageBase( ImageBase );
     
    10761083    compiler.linker.ResolveGlobalVarSchedules( MemPos_RWSection );
    10771084    compiler.linker.ResolveVtblSchedule( MemPos_DataSection );
     1085    compiler.linker.ResolveTypeInfoSchedule( MemPos_DataSection );
    10781086
    10791087
     
    15431551    if(bUse_DataSection){
    15441552        //データ テーブル
    1545         WriteFile(hFile,compiler.GetObjectModule().dataTable.GetPtr(),compiler.GetObjectModule().dataTable.GetSize(),(DWORD *)&i2,NULL);
     1553        WriteFile(
     1554            hFile,
     1555            compiler.linker.GetDataTable().GetPtr(),
     1556            compiler.linker.GetDataTable().GetSize(),
     1557            (DWORD *)&i2,
     1558            NULL
     1559        );
    15461560        i+=i2;
    15471561    }
Note: See TracChangeset for help on using the changeset viewer.