Bug 883562 - Check for lazy functions when bailing out from Ion to Baseline.

This commit is contained in:
Brian Hackett 2013-06-16 10:37:56 -06:00
parent 17af22f50a
commit 3444a4cb1a

View File

@ -1060,7 +1060,7 @@ ion::BailoutIonToBaseline(JSContext *cx, JitActivation *activation, IonBailoutIt
RootedFunction callee(cx, iter.maybeCallee());
if (callee) {
IonSpew(IonSpew_BaselineBailouts, " Callee function (%s:%u)",
callee->nonLazyScript()->filename(), callee->nonLazyScript()->lineno);
callee->getExistingScript()->filename(), callee->getExistingScript()->lineno);
} else {
IonSpew(IonSpew_BaselineBailouts, " No callee!");
}
@ -1098,7 +1098,7 @@ ion::BailoutIonToBaseline(JSContext *cx, JitActivation *activation, IonBailoutIt
caller = scr;
callerPC = callPC;
fun = nextCallee;
scr = fun->nonLazyScript();
scr = fun->getExistingScript();
snapIter.nextFrame();
frameNo++;