Suppress SpewOpcode if not a debug build (bug 5859, r=dvander).
authorKyle Sanderson <kyle.leet@gmail.com>
Tue Aug 27 08:39:15 2013 -0400 (2013-08-27)
changeset 4085648c0d5755f6
parent 4084 672615211475
child 4086 63763f2a5c6c
Suppress SpewOpcode if not a debug build (bug 5859, r=dvander).
sourcepawn/jit/x86/jit_x86.cpp
     1.1 --- a/sourcepawn/jit/x86/jit_x86.cpp	Mon Aug 26 23:38:55 2013 -0700
     1.2 +++ b/sourcepawn/jit/x86/jit_x86.cpp	Tue Aug 27 08:39:15 2013 -0400
     1.3 @@ -423,6 +423,8 @@
     1.4        plugin_->name,
     1.5        GetFunctionName(plugin_, pcode_start_));
     1.6  
     1.7 +#endif
     1.8 +#if defined DEBUG
     1.9    SpewOpcode(plugin_, code_start_, cip_);
    1.10  #endif
    1.11  
    1.12 @@ -440,7 +442,7 @@
    1.13      if (*cip_ == OP_PROC || *cip_ == OP_ENDPROC)
    1.14        break;
    1.15  
    1.16 -#if !defined NDEBUG
    1.17 +#if defined DEBUG
    1.18      SpewOpcode(plugin_, code_start_, cip_);
    1.19  #endif
    1.20