Suppress SpewOpcode if not a debug build (bug 5859, r=dvander).
Suppress SpewOpcode if not a debug build (
bug 5859, r=dvander).
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