Changeset 78 in dev for BasicCompiler32/MakePeHdr.cpp
- Timestamp:
- Mar 25, 2007, 2:47:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/MakePeHdr.cpp
r76 r78 17 17 *pSub_System_InitStaticLocalVariables, 18 18 *pSub_System_Call_Destructor_of_GlobalObject, 19 *pSub_System_End, 19 20 *pSub_System_GetSp, 20 21 *pSub_pow, … … 150 151 151 152 //関数ポインタ情報を初期化 152 extern ProcPointer **ppProcPointer; 153 extern int ProcPtrInfoNum; 154 ppProcPointer=(ProcPointer **)HeapAlloc(hHeap,0,1); 155 ProcPtrInfoNum=0; 153 House::procPointers.clear(); 156 154 157 155 //クラス名を取得(詳細情報はGetAllClassInfoで取得) … … 161 159 pobj_DBClass->InitNames(); 162 160 161 //TypeDef情報を初期化 162 House::typeDefs.Init(); 163 163 164 //定数情報を取得 164 165 GetConstInfo(); … … 215 216 } 216 217 218 if(pSub_System_End=GetSubHash("_System_End",1)){ 219 pSub_System_End->Using(); 220 } 221 217 222 if(pSub_System_GetSp=GetSubHash("_System_GetSp",1)){ 218 223 pSub_System_GetSp->Using(); … … 314 319 #ifdef _DEBUG 315 320 { 316 ofstream ofs( "middle_code.txt");321 ofstream ofs( ( (string)BasicSystemDir + "middle_code.txt" ).c_str() ); 317 322 ofs << basbuf << endl; 318 323 ofs.close(); … … 399 404 /////////////////////////////////////// 400 405 401 //call _System_ Call_Destructor_of_GlobalObject402 extern UserProc *pSub_System_ Call_Destructor_of_GlobalObject;403 op_call(pSub_System_ Call_Destructor_of_GlobalObject);406 //call _System_End 407 extern UserProc *pSub_System_End; 408 op_call(pSub_System_End); 404 409 405 410
Note:
See TracChangeset
for help on using the changeset viewer.