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/compiler_x86/Compile_ProcOp.cpp

    r536 r537  
    3232
    3333        const UserProc *pBackUserProc;
    34         pBackUserProc = &UserProc::CompilingUserProc();
    35         UserProc::CompileStartForGlobalArea();
     34        pBackUserProc = &compiler.GetCompilingUserProc();
     35        compiler.StartGlobalAreaCompile();
    3636
    3737        int BackCp;
     
    5757        GetGlobalDataForDll();
    5858
    59         UserProc::CompileStartForUserProc( pBackUserProc );
     59        compiler.SetCompilingUserProc( pBackUserProc );
    6060        cp=BackCp;
    6161
     
    8989
    9090        const UserProc *pBackUserProc;
    91         pBackUserProc = &UserProc::CompilingUserProc();
    92         UserProc::CompileStartForGlobalArea();
     91        pBackUserProc = &compiler.GetCompilingUserProc();
     92        compiler.StartGlobalAreaCompile();
    9393
    9494        compiler.codeGenerator.lexicalScopes.CallDestructorsOfScopeEnd();
    9595
    96         UserProc::CompileStartForUserProc( pBackUserProc );
     96        compiler.SetCompilingUserProc( pBackUserProc );
    9797
    9898
     
    225225        UserProc::pGlobalProc = &userProc;
    226226
    227         const UserProc *pBackUserProc = &UserProc::CompilingUserProc();
    228         UserProc::CompileStartForGlobalArea();
     227        const UserProc *pBackUserProc = &compiler.GetCompilingUserProc();
     228        compiler.StartGlobalAreaCompile();
    229229
    230230        int BackCp = cp;
     
    250250        }
    251251
    252         UserProc::CompileStartForUserProc( pBackUserProc );
     252        compiler.SetCompilingUserProc( pBackUserProc );
    253253        cp=BackCp;
    254254    }
Note: See TracChangeset for help on using the changeset viewer.