Changeset 459 in dev for trunk/ab5.0/abdev/BasicCompiler32/Compile_ProcOp.cpp
- Timestamp:
- Mar 23, 2008, 10:38:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler32/Compile_ProcOp.cpp
r402 r459 42 42 cp=-1; 43 43 44 extern BOOL bDebugCompile;45 if(bDebugCompile){44 if( compiler.IsDebug() ) 45 { 46 46 //デバッグ用の変数を定義 47 47 DebugVariable(); … … 283 283 extern char *basbuf; 284 284 extern HANDLE hHeap; 285 extern BOOL bDebugCompile;286 285 int i3,i4,BaseOffset; 287 286 char temporary[VN_SIZE]; … … 301 300 302 301 extern BOOL bDebugSupportProc; 303 if(memcmp(pUserProc->GetName().c_str(),"_DebugSys_",10)==0){ 304 if(!bDebugCompile){ 302 if(memcmp(pUserProc->GetName().c_str(),"_DebugSys_",10)==0) 303 { 304 if( !compiler.IsDebug() ) 305 { 305 306 return; 306 307 } … … 476 477 477 478 const PertialSchedule *pEspOffsetPertialSchedule = NULL; 478 if(bDebugCompile&&bDebugSupportProc==0){ 479 if( compiler.IsDebug() && bDebugSupportProc == 0 ) 480 { 479 481 //push dword ptr[ebp+(AllLocalVarSize-BaseOffset)](スケジュール) 480 482 pEspOffsetPertialSchedule = compiler.codeGenerator.op_push_M( REG_EBP, 0, Schedule::None, true ); … … 633 635 compiler.codeGenerator.ResolveExitSubSchedule(); 634 636 635 if(bDebugCompile&&bDebugSupportProc==0){ 637 if( compiler.IsDebug() && bDebugSupportProc == 0 ) 638 { 636 639 compiler.codeGenerator.opfix( pEspOffsetPertialSchedule, AllLocalVarSize-BaseOffset-sizeof(long) ); 637 640 … … 739 742 compiler.codeGenerator.op_pop(REG_EBX); 740 743 741 if(bDebugCompile){ 744 if( compiler.IsDebug() ) 745 { 742 746 //cmp esp,ebp 743 747 compiler.codeGenerator.op_cmp_RR( REG_ESP, REG_EBP );
Note:
See TracChangeset
for help on using the changeset viewer.