Suppress SpewOpcode if not a debug build (bug 5859, r=dvander).

This commit is contained in:
Kyle Sanderson
2013-08-27 08:39:15 -04:00
parent c30b7c111f
commit d05feabcd6
+3 -1
View File
@@ -423,6 +423,8 @@ Compiler::emit(int *errp)
plugin_->name,
GetFunctionName(plugin_, pcode_start_));
#endif
#if defined DEBUG
SpewOpcode(plugin_, code_start_, cip_);
#endif
@@ -440,7 +442,7 @@ Compiler::emit(int *errp)
if (*cip_ == OP_PROC || *cip_ == OP_ENDPROC)
break;
#if !defined NDEBUG
#if defined DEBUG
SpewOpcode(plugin_, code_start_, cip_);
#endif