Ignore:
Timestamp:
Mar 23, 2008, 10:38:38 AM (16 years ago)
Author:
dai_9181
Message:

・Compiler::IsDebugメソッドを導入した(bDebugCompileグローバル変数は廃止)。
・bStrictグローバル変数は意味を成さないので廃止した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_CallProc.cpp

    r435 r459  
    2424}
    2525
    26 bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer){
    27 
    28     extern BOOL bDebugCompile;
     26bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer)
     27{
    2928    extern BOOL bDebugSupportProc;
    30     if(bDebugCompile&&bDebugSupportProc==0)
     29    if( compiler.IsDebug() && bDebugSupportProc == 0 )
     30    {
    3131        Call_DebugSys_SaveContext();
     32    }
    3233
    3334
     
    433434}
    434435
    435 bool Opcode_CallDllProc( const char *lpszParms, const DllProc *pDllProc ){
    436 
    437     extern BOOL bDebugCompile;
     436bool Opcode_CallDllProc( const char *lpszParms, const DllProc *pDllProc )
     437{
    438438    extern BOOL bDebugSupportProc;
    439     if(bDebugCompile&&bDebugSupportProc==0&& pDllProc->IsEqualSymbol( "DebugBreak" ) ){
     439    if( compiler.IsDebug() && bDebugSupportProc==0 && pDllProc->IsEqualSymbol( "DebugBreak" ) )
     440    {
    440441        Call_DebugSys_SaveContext();
    441442    }
     
    487488void Opcode_CallDelegate( const Delegate &dg, const char *methodPtrValueStr, const char *objPtrValueStr, const char *params )
    488489{
    489     extern BOOL bDebugCompile;
    490490    extern BOOL bDebugSupportProc;
    491     if(bDebugCompile&&bDebugSupportProc==0)
     491    if( compiler.IsDebug() && bDebugSupportProc == 0 )
     492    {
    492493        Call_DebugSys_SaveContext();
     494    }
    493495
    494496
Note: See TracChangeset for help on using the changeset viewer.