mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 905396 - IonMonkey: Bailout function of LGenericCall now takes JSObject, r=sstangl
This commit is contained in:
parent
3d34bb7d2a
commit
1f7202fd66
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user