mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 530018 - js_DecompileToString Undefined symbol. r=jim
This commit is contained in:
parent
fe9c904589
commit
7d3bee1630
@ -4921,7 +4921,7 @@ js_DecompileScript(JSPrinter *jp, JSScript *script)
|
|||||||
JSString *
|
JSString *
|
||||||
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
|
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
|
||||||
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
|
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
|
||||||
JSBool (*decompiler)(JSPrinter *jp))
|
JSDecompilerPtr decompiler)
|
||||||
{
|
{
|
||||||
JSPrinter *jp;
|
JSPrinter *jp;
|
||||||
JSString *str;
|
JSString *str;
|
||||||
|
@ -424,10 +424,12 @@ js_DecompileFunctionBody(JSPrinter *jp);
|
|||||||
extern JSBool
|
extern JSBool
|
||||||
js_DecompileFunction(JSPrinter *jp);
|
js_DecompileFunction(JSPrinter *jp);
|
||||||
|
|
||||||
|
typedef JSBool (* JSDecompilerPtr)(JSPrinter *);
|
||||||
|
|
||||||
extern JSString *
|
extern JSString *
|
||||||
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
|
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
|
||||||
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
|
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
|
||||||
JSBool (*decompiler)(JSPrinter *jp));
|
JSDecompilerPtr decompiler);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find the source expression that resulted in v, and return a newly allocated
|
* Find the source expression that resulted in v, and return a newly allocated
|
||||||
|
Loading…
Reference in New Issue
Block a user