author | Jeff Walden <jwalden@mit.edu> |
Sun, 23 Jan 2011 01:16:34 -0800 | |
changeset 61223 | e107ac5e475217cbb6b7eb478a836fea931c1825 |
parent 61222 | 7da52f991c293c40455e78d41799f474c00dcf33 |
child 61224 | b2024811aea7dcb7a7145ca6221da1172d0b96d4 |
push id | 18277 |
push user | cleary@mozilla.com |
push date | Tue, 25 Jan 2011 03:52:51 +0000 |
treeherder | mozilla-central@7ee91bd90e7a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | redness |
milestone | 2.0b10pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
js/src/jsopcode.cpp | file | annotate | diff | comparison | revisions | |
js/src/jsopcode.h | file | annotate | diff | comparison | revisions |
--- a/js/src/jsopcode.cpp +++ b/js/src/jsopcode.cpp @@ -839,17 +839,17 @@ js_NewPrinter(JSContext *cx, const char if (!jp->localNames) { js_DestroyPrinter(jp); return NULL; } } return jp; } -bool +JSBool js_DestroyPrinter(JSPrinter *jp) { JS_FinishArenaPool(&jp->pool); bool error = jp->error; jp->sprinter.context->free(jp); return error; }
--- a/js/src/jsopcode.h +++ b/js/src/jsopcode.h @@ -306,17 +306,17 @@ js_QuoteString(JSContext *cx, JSString * * functions need not be re-marked with a strict directive. It should * be false in the outermost printer. */ extern JSPrinter * js_NewPrinter(JSContext *cx, const char *name, JSFunction *fun, uintN indent, JSBool pretty, JSBool grouped, JSBool strict); -extern bool +extern JSBool js_DestroyPrinter(JSPrinter *jp); extern JSString * js_GetPrinterOutput(JSPrinter *jp); extern int js_printf(JSPrinter *jp, const char *format, ...);