Ignore:
Timestamp:
May 3, 2008, 6:58:38 PM (16 years ago)
Author:
dai_9181
Message:

UserProcクラスによるコンパイル中関数管理用メソッドを除去(すべてCompilerクラス内で処理するようにした)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp

    r485 r537  
    7171    CallDestructorsOfScopeEnd();
    7272
    73     Variables *pVars = UserProc::IsGlobalAreaCompiling() ?
     73    Variables *pVars = compiler.IsGlobalAreaCompiling() ?
    7474        &compiler.GetObjectModule().meta.GetGlobalVars() :
    75         &UserProc::CompilingUserProc().GetLocalVars();
     75        &compiler.GetCompilingUserProc().GetLocalVars();
    7676
    7777    //使用済みローカル変数の生存チェックを外す
     
    9898void LexicalScopes::CallDestructorsOfScopeEnd(){
    9999
    100     Variables *pVariabls = UserProc::IsGlobalAreaCompiling() ?
     100    Variables *pVariabls = compiler.IsGlobalAreaCompiling() ?
    101101        &compiler.GetObjectModule().meta.GetGlobalVars() :
    102         &UserProc::CompilingUserProc().GetLocalVars();
     102        &compiler.GetCompilingUserProc().GetLocalVars();
    103103
    104104
     
    109109        Variable *pVar = (*pVariabls)[i3];
    110110
    111         if( UserProc::IsGlobalAreaCompiling() && GetNowLevel() == 0 ){
     111        if( compiler.IsGlobalAreaCompiling() && GetNowLevel() == 0 ){
    112112            if( pVar->GetName() == "_System_GC" ){
    113113                indexSystemGC=i3;
     
    152152
    153153
    154             if( UserProc::IsGlobalAreaCompiling() ){
     154            if( compiler.IsGlobalAreaCompiling() ){
    155155                //ここには来ないハズ
    156156                compiler.errorMessenger.Output(300,NULL,cp);
Note: See TracChangeset for help on using the changeset viewer.