Bug 905396 - IonMonkey: Bailout function of LGenericCall now takes JSObject, r=sstangl

This commit is contained in:
Hannes Verschore 2013-08-20 17:34:50 +02:00
parent 3d34bb7d2a
commit 1f7202fd66
2 changed files with 8 additions and 2 deletions

View File

@ -514,13 +514,19 @@ ion::PropagateAbortPar(JSScript *outermostScript, JSScript *currentScript)
}
void
ion::CallToUncompiledScriptPar(JSFunction *func)
ion::CallToUncompiledScriptPar(JSObject *obj)
{
JS_ASSERT(InParallelSection());
#ifdef DEBUG
static const int max_bound_function_unrolling = 5;
if (!obj->is<JSFunction>()) {
Spew(SpewBailouts, "Call to non-function");
return;
}
JSFunction *func = &obj->as<JSFunction>();
if (func->hasScript()) {
JSScript *script = func->nonLazyScript();
Spew(SpewBailouts, "Call to uncompiled script: %p:%s:%d",

View File

@ -83,7 +83,7 @@ void TraceLIR(uint32_t bblock, uint32_t lir, uint32_t execModeInt,
const char *lirOpName, const char *mirOpName,
JSScript *script, jsbytecode *pc);
void CallToUncompiledScriptPar(JSFunction *func);
void CallToUncompiledScriptPar(JSObject *obj);
} // namespace ion
} // namespace js