Bug 462184. Make INCLUDE_VERBOSE_OUTPUT actually work, and rename it to JS_JIT_SPEW. r=brendan

This commit is contained in:
Boris Zbarsky
2008-10-29 21:56:35 -07:00
parent a66a375487
commit 30ef77c3ea
4 changed files with 21 additions and 15 deletions

View File

@@ -72,6 +72,7 @@
#include "jsscript.h"
#include "jsstr.h"
#include "jsstaticcheck.h"
#include "jstracer.h"
#include "jsautooplen.h"
@@ -104,9 +105,10 @@ static const char *CodeToken[] = {
#undef OPDEF
};
#ifdef DEBUG
#if defined(DEBUG) || defined(JS_JIT_SPEW)
/*
* Array of JS bytecode names used by DEBUG-only js_Disassemble.
* Array of JS bytecode names used by DEBUG-only js_Disassemble and by
* JIT debug spew.
*/
const char *js_CodeName[] = {
#define OPDEF(op,val,name,token,length,nuses,ndefs,prec,format) \