Ignore:
Timestamp:
May 5, 2008, 2:48:41 PM (16 years ago)
Author:
dai_9181
Message:

・ProcedureGeneratorクラスを追加。
・「InitStaticMember、Compile_System_InitializeUserTypes、Compile_System_InitializeUserTypesForBaseType」これらのメソッドをProcedureGeneratorクラスに移動。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp

    r541 r565  
    5353
    5454        //クラスに属する静的メンバを定義
    55         compiler.GetObjectModule().meta.GetClasses().InitStaticMember();
     55        ActiveBasic::Compiler::ProcedureGenerator::Generate_InitStaticMember(
     56            compiler.GetObjectModule().meta.GetClasses()
     57        );
    5658
    5759        GetGlobalDataForDll();
     
    202204    if( userProc.GetName() == "InitializeUserTypes"
    203205        && userProc.HasParentClass()
    204         && userProc.GetParentClass().GetName() == "_System_TypeBase" ){
    205 
    206             compiler.GetObjectModule().meta.GetClasses().Compile_System_InitializeUserTypes();
     206        && userProc.GetParentClass().GetName() == "_System_TypeBase" )
     207    {
     208        ActiveBasic::Compiler::ProcedureGenerator::Generate_System_InitializeUserTypes(
     209            compiler.GetObjectModule().meta.GetClasses()
     210        );
    207211    }
    208212    else if( userProc.GetName() == "InitializeUserTypesForBaseType"
     
    210214        && userProc.GetParentClass().GetName() == "_System_TypeBase" )
    211215    {
    212         compiler.GetObjectModule().meta.GetClasses().Compile_System_InitializeUserTypesForBaseType();
     216        ActiveBasic::Compiler::ProcedureGenerator::Generate_System_InitializeUserTypesForBaseType(
     217            compiler.GetObjectModule().meta.GetClasses()
     218        );
    213219    }
    214220    else if( userProc.GetName() == "RegisterGlobalRoots"
     
    232238
    233239        //クラスに属する静的メンバを定義
    234         compiler.GetObjectModule().meta.GetClasses().InitStaticMember();
     240        ActiveBasic::Compiler::ProcedureGenerator::Generate_InitStaticMember(
     241            compiler.GetObjectModule().meta.GetClasses()
     242        );
    235243
    236244        //グローバル実行領域をコンパイル開始
Note: See TracChangeset for help on using the changeset viewer.