[JAEGER] Fixed bug in invoking JIT from interpreter.

This commit is contained in:
David Anderson 2010-06-09 14:42:17 -07:00
parent 4e28dc4af8
commit 517efa88c1
2 changed files with 2 additions and 0 deletions

View File

@ -3294,6 +3294,7 @@ class Value
JSObject &asObject() const {
JS_ASSERT(isObject());
JS_ASSERT(JSVAL_TO_OBJECT_IMPL(data));
return *JSVAL_TO_OBJECT_IMPL(data);
}

View File

@ -2373,6 +2373,7 @@ BEGIN_CASE(JSOP_APPLY)
if (status == mjit::Compile_Okay) {
if (!mjit::JaegerShot(cx))
goto error;
interpReturnOK = true;
goto inline_return;
}