Changeset 34 in dev for BasicCompiler64/Compile_ProcOp.cpp
- Timestamp:
- Jan 14, 2007, 6:11:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_ProcOp.cpp
r31 r34 109 109 bCompilingGlobal=1; 110 110 111 CallDestrouctorsOfScope();111 obj_LexScopes.CallDestructorsOfScopeEnd(); 112 112 113 113 bCompilingGlobal=bBackCompilingGlobal; … … 700 700 } 701 701 702 //プロシージャ抜け出しスケジュール(Exit Sub/Function)703 for(i3=0;i3<ExitSubScheduleNum;i3++){704 *((long *)(OpBuffer+pExitSubSchedule[i3]))=obp-(pExitSubSchedule[i3]+sizeof(long));705 }706 HeapDefaultFree(pExitSubSchedule);707 708 if(bDebugCompile&&bDebugSupportProc==0){709 //call _DebugSys_EndProc710 extern SUBINFO *pSub_DebugSys_EndProc;711 op_call(pSub_DebugSys_EndProc);712 }713 714 702 //ラベル用のメモリを解放 715 703 for(i3=0;i3<MaxLabelNum;i3++){ … … 744 732 745 733 //ローカルオブジェクト(レキシカルスコープレベル=0)の解放処理 746 CallDestrouctorsOfScope(); 734 obj_LexScopes.CallDestructorsOfScopeEnd(); 735 736 //プロシージャ抜け出しスケジュール(Exit Sub/Function) 737 for(i3=0;i3<ExitSubScheduleNum;i3++){ 738 *((long *)(OpBuffer+pExitSubSchedule[i3]))=obp-(pExitSubSchedule[i3]+sizeof(long)); 739 } 740 HeapDefaultFree(pExitSubSchedule); 741 742 if(bDebugCompile&&bDebugSupportProc==0){ 743 //call _DebugSys_EndProc 744 extern SUBINFO *pSub_DebugSys_EndProc; 745 op_call(pSub_DebugSys_EndProc); 746 } 747 747 748 748 if(psi->ReturnType!=-1){
Note:
See TracChangeset
for help on using the changeset viewer.