extern void InitCG( void ) /****************************/ { InOptimizer = 0; InsId = 0; CurrProc = NULL; CurrBlock = NULL; BlockList = NULL; HeadBlock = NULL; BlockByBlock = FALSE; abortCG = FALSE; InitFP();/* must be before InitRegTbl */ InitRegTbl(); ScoreInit(); InitQueue(); InitMakeAddr(); RegTreeInit(); InitIns(); InitConflict(); InitRT(); InitNames(); ObjInit(); ClassPointer = TypeClass( TypePtr ); InitSegment(); }
Imp(bool isBlock) { static int port = 0; InitRT(port); InitNRT(port, isBlock); ++port; }