Ignore:
Timestamp:
Sep 9, 2007, 12:37:48 PM (17 years ago)
Author:
dai_9181
Message:

GCのバグをいくつか修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/Subroutine.cpp

    r316 r319  
    494494    pSub_System_Call_Destructor_of_GlobalObject->CompleteCompile();
    495495
     496    // _System_CGarbageCollection.RegisterGlobalRootsは一番最後にコンパイル
     497    extern const UserProc *pUserProc_System_CGarbageCollection_RegisterGlobalRoots;
     498    pUserProc_System_CGarbageCollection_RegisterGlobalRoots->CompleteCompile();
     499
    496500repeat:
    497501    compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset();
     
    531535        pSub_System_Call_Destructor_of_GlobalObject->KillCompileStatus();
    532536        CompileBufferInProcedure( *pSub_System_Call_Destructor_of_GlobalObject );
    533     }
    534 }
     537
     538        // _System_CGarbageCollection.RegisterGlobalRootsは一番最後にコンパイル
     539        pUserProc_System_CGarbageCollection_RegisterGlobalRoots->KillCompileStatus();
     540        CompileBufferInProcedure( *pUserProc_System_CGarbageCollection_RegisterGlobalRoots );
     541    }
     542}
Note: See TracChangeset for help on using the changeset viewer.