Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures.

This commit is contained in:
Ryan VanderMeulen 2013-06-07 11:16:36 -04:00
parent 336f4cf0c6
commit 8716f9c7cb
2 changed files with 1 additions and 9 deletions

View File

@ -1,6 +0,0 @@
disassemble("-r", (function() {
(function() {
"use asm"
return {}
})()
}))

View File

@ -1911,9 +1911,7 @@ DisassembleScript(JSContext *cx, HandleScript script, HandleFunction fun, bool l
RootedFunction f(cx, obj->toFunction());
RootedScript script(cx);
JSFunction::maybeGetOrCreateScript(cx, f, &script);
if (!script)
Sprint(sp, "[native code]\n");
else if (!DisassembleScript(cx, script, fun, lines, recursive, sp))
if (!DisassembleScript(cx, script, fun, lines, recursive, sp))
return false;
}
}