Ignore:
Timestamp:
Aug 2, 2007, 4:17:27 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler64/Compile_Var.cpp

    r254 r257  
    389389    // 名前空間を分離
    390390    char namespaceStr[VN_SIZE]="", simpleName[VN_SIZE];
    391     compiler.GetMeta().GetNamespaces().SplitNamespace( variable, namespaceStr, simpleName );
     391    compiler.objectModule.meta.GetNamespaces().SplitNamespace( variable, namespaceStr, simpleName );
    392392
    393393    // 先頭オブジェクトまたはクラス名と入れ子メンバに分割
     
    482482        //Const修飾子のメソッド内でメンバ書き込みアクセスが発生したとき
    483483        //(コンストラクタ、デストラクタ内を除く)
    484         const CMethod *pMethod = compiler.GetMeta().GetClasses().GetNowCompilingMethodInfo();
     484        const CMethod *pMethod = compiler.objectModule.meta.GetClasses().GetNowCompilingMethodInfo();
    485485        if( isWriteAccess &&
    486486            pMethod->IsConst() &&
     
    519519            GetNowStaticVarFullName(VarName,temporary);
    520520
    521             pVar = compiler.GetMeta().GetGlobalVars().Find( Symbol( temporary ) );
     521            pVar = compiler.objectModule.meta.GetGlobalVars().Find( Symbol( temporary ) );
    522522            if( pVar ){
    523523                goto GlobalOk;
     
    542542            }
    543543
    544             int typeDefIndex = compiler.GetMeta().GetTypeDefs().GetIndex( VarName );
     544            int typeDefIndex = compiler.objectModule.meta.GetTypeDefs().GetIndex( VarName );
    545545            if( typeDefIndex != -1 ){
    546546                // TypeDef後の型名だったとき
    547                 lstrcpy( VarName, compiler.GetMeta().GetTypeDefs()[typeDefIndex].GetBaseName().c_str() );
     547                lstrcpy( VarName, compiler.objectModule.meta.GetTypeDefs()[typeDefIndex].GetBaseName().c_str() );
    548548            }
    549549
    550550            char temp2[VN_SIZE];
    551551            sprintf(temp2,"%s.%s",VarName,temporary);
    552             pVar = compiler.GetMeta().GetGlobalVars().Find( Symbol( temp2 ) );
     552            pVar = compiler.objectModule.meta.GetGlobalVars().Find( Symbol( temp2 ) );
    553553            if( pVar ){
    554554                lstrcpy(member,tempMember);
     
    562562            char temp2[VN_SIZE];
    563563            sprintf(temp2,"%s.%s",compiler.pCompilingClass->GetName().c_str(),VarName);
    564             pVar = compiler.GetMeta().GetGlobalVars().Find( Symbol( temp2 ) );
     564            pVar = compiler.objectModule.meta.GetGlobalVars().Find( Symbol( temp2 ) );
    565565            if( pVar ){
    566566                goto GlobalOk;
     
    572572        /////////////////////
    573573
    574         pVar = compiler.GetMeta().GetGlobalVars().BackSearch( Symbol( VarName ) );
     574        pVar = compiler.objectModule.meta.GetGlobalVars().BackSearch( Symbol( VarName ) );
    575575        if( pVar ){
    576576            goto GlobalOk;
     
    857857            char *temp;
    858858            temp=(char *)i64data;
    859             i2=compiler.GetDataTable().AddString( temp );
     859            i2=compiler.objectModule.dataTable.AddString( temp );
    860860            HeapDefaultFree(temp);
    861861
     
    10071007            char *temp;
    10081008            temp=(char *)i64data;
    1009             i2=compiler.GetDataTable().AddString( temp );
     1009            i2=compiler.objectModule.dataTable.AddString( temp );
    10101010            HeapDefaultFree(temp);
    10111011
     
    12781278    }
    12791279
    1280     BOOST_FOREACH( const Variable *pVar, compiler.GetMeta().GetGlobalVars() ){
     1280    BOOST_FOREACH( const Variable *pVar, compiler.objectModule.meta.GetGlobalVars() ){
    12811281        if( pVar->GetType().IsObject() || pVar->GetType().IsPointer() || pVar->GetType().IsStruct() ){
    12821282            // オブジェクトまたはポインタだったとき
Note: See TracChangeset for help on using the changeset viewer.