Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures

This commit is contained in:
David Mandelin
2009-10-27 17:46:09 -07:00
parent 035f154980
commit 832146d0ee
3 changed files with 56 additions and 53 deletions

View File

@@ -276,16 +276,16 @@ js_QuoteString(JSContext *cx, JSString *str, jschar quote);
*/
#ifdef JS_ARENAMETER
# define JS_NEW_PRINTER(cx, name, fun, indent, pretty, grouped) \
js_NewPrinter(cx, name, fun, indent, pretty, grouped)
# define JS_NEW_PRINTER(cx, name, fun, indent, pretty) \
js_NewPrinter(cx, name, fun, indent, pretty)
#else
# define JS_NEW_PRINTER(cx, name, fun, indent, pretty, grouped) \
js_NewPrinter(cx, fun, indent, pretty, grouped)
# define JS_NEW_PRINTER(cx, name, fun, indent, pretty) \
js_NewPrinter(cx, fun, indent, pretty)
#endif
extern JSPrinter *
JS_NEW_PRINTER(JSContext *cx, const char *name, JSFunction *fun,
uintN indent, bool pretty, bool grouped);
uintN indent, JSBool pretty);
extern void
js_DestroyPrinter(JSPrinter *jp);
@@ -421,17 +421,12 @@ js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc, uintN loc,
extern JSBool
js_DecompileScript(JSPrinter *jp, JSScript *script);
extern bool
extern JSBool
js_DecompileFunctionBody(JSPrinter *jp);
extern bool
extern JSBool
js_DecompileFunction(JSPrinter *jp);
extern JSString *
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
uintN indent, bool pretty, bool grouped,
bool (*decompiler)(JSPrinter *jp));
/*
* Find the source expression that resulted in v, and return a newly allocated
* C-string containing it. Fall back on v's string conversion (fallback) if we