Suppress SpewOpcode if not a debug build (bug 5859, r=dvander).
This commit is contained in:
parent
c30b7c111f
commit
d05feabcd6
@ -423,6 +423,8 @@ Compiler::emit(int *errp)
|
|||||||
plugin_->name,
|
plugin_->name,
|
||||||
GetFunctionName(plugin_, pcode_start_));
|
GetFunctionName(plugin_, pcode_start_));
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#if defined DEBUG
|
||||||
SpewOpcode(plugin_, code_start_, cip_);
|
SpewOpcode(plugin_, code_start_, cip_);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -440,7 +442,7 @@ Compiler::emit(int *errp)
|
|||||||
if (*cip_ == OP_PROC || *cip_ == OP_ENDPROC)
|
if (*cip_ == OP_PROC || *cip_ == OP_ENDPROC)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if !defined NDEBUG
|
#if defined DEBUG
|
||||||
SpewOpcode(plugin_, code_start_, cip_);
|
SpewOpcode(plugin_, code_start_, cip_);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user