Merge mozilla-central to tracemonkey.

This commit is contained in:
Chris Leary
2011-06-06 09:41:22 -07:00
1770 changed files with 76756 additions and 44463 deletions

View File

@@ -295,7 +295,11 @@ Dump(JSContext *cx,
str = JS_ValueToString(cx, JS_ARGV(cx, vp)[0]);
if (!str)
return JS_FALSE;
JS_FileEscapedString(stdout, str, 0);
JSAutoByteString bytes(cx, str);
if (!bytes)
return JS_FALSE;
fputs(bytes.ptr(), stdout);
fflush(stdout);
return JS_TRUE;
}