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,
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user