Changeset 73 in dev for BasicCompiler_Common/DebugMiddleFile.cpp
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/DebugMiddleFile.cpp
r64 r73 213 213 214 214 //プロシージャ情報 215 extern S UBINFO**ppSubHash;215 extern SubInfo **ppSubHash; 216 216 extern int SubNum; 217 S UBINFO*psi;217 SubInfo *psi; 218 218 *(long *)(buffer+i2)=SubNum; 219 219 i2+=sizeof(long); … … 585 585 586 586 //プロシージャ情報 587 S UBINFO*psi;587 SubInfo *psi; 588 588 SubNum=*(long *)(buffer+i2); 589 589 i2+=sizeof(long); 590 ppSubHash=(S UBINFO **)HeapAlloc(hHeap,HEAP_ZERO_MEMORY,MAX_HASH*sizeof(SUBINFO*));590 ppSubHash=(SubInfo **)HeapAlloc(hHeap,HEAP_ZERO_MEMORY,MAX_HASH*sizeof(SubInfo *)); 591 591 for(i3=0;i3<SubNum;i3++){ 592 psi =(SUBINFO *)HeapAlloc(hHeap,0,sizeof(SUBINFO));592 psi = new SubInfo(); 593 593 psi->pNextData=0; 594 594 … … 618 618 i2+=sizeof(long); 619 619 620 psi->ParmNum=0;621 psi->pParmInfo=0;622 psi->RealParmNum=0;623 psi->pRealParmInfo=0;624 620 psi->bCompile=1; 625 621 … … 677 673 i4=hash_default(psi->name); 678 674 679 S UBINFO*psi2;675 SubInfo *psi2; 680 676 if(ppSubHash[i4]){ 681 677 psi2=ppSubHash[i4]; … … 804 800 805 801 806 extern S UBINFO**ppSubHash;802 extern SubInfo **ppSubHash; 807 803 ppSubHash=this->ppSubHash; 808 804 pSub_DebugSys_EndProc=GetSubHash("_DebugSys_EndProc"); … … 973 969 extern char **ppMacroNames; 974 970 ppMacroNames=0; 975 extern S UBINFO**ppSubHash;971 extern SubInfo **ppSubHash; 976 972 extern int SubNum; 977 973 ppSubHash=this->ppSubHash; 978 974 SubNum=this->SubNum; 979 975 980 extern S UBINFO*pSub_DebugSys_EndProc;976 extern SubInfo *pSub_DebugSys_EndProc; 981 977 pSub_DebugSys_EndProc=this->pSub_DebugSys_EndProc; 982 978 … … 998 994 999 995 //ローカル変数に関する情報を解放 1000 S UBINFO*psi;996 SubInfo *psi; 1001 997 for(i2=0;i2<MAX_HASH;i2++){ 1002 998 psi=ppSubHash[i2];
Note:
See TracChangeset
for help on using the changeset viewer.