Ignore:
Timestamp:
May 5, 2008, 12:39:50 AM (16 years ago)
Author:
dai_9181
Message:

・PutWithScheduleメソッドを追加。
・NativeCodeクラスが持つCompilerクラスへの依存度を除去した。

File:
1 edited

Legend:

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

    r485 r551  
    1010
    1111
     12void CodeGenerator::PutWithSchedule( long l, Schedule::Type scheduleType )
     13{
     14    if( scheduleType == Schedule::CatchAddress )
     15    {
     16        const UserProc *pCurrentUserProc = compiler.IsGlobalAreaCompiling()
     17            ? UserProc::pGlobalProc
     18            : &compiler.GetCompilingUserProc();
     19
     20        this->pNativeCode->PutCatchAddressSchedule( pCurrentUserProc, l );
     21    }
     22    else
     23    {
     24        this->pNativeCode->PutEx( l, scheduleType );
     25    }
     26}
     27
    1228void CodeGenerator::ResolveExitSubSchedule()
    1329{
Note: See TracChangeset for help on using the changeset viewer.