// Initialize the decl env Object, call object, and any arguments obj of the current frame. bool jit::EnsureHasScopeObjects(JSContext* cx, AbstractFramePtr fp) { if (fp.isFunctionFrame() && fp.fun()->isHeavyweight() && !fp.hasCallObj()) { return fp.initFunctionScopeObjects(cx); } return true; }
// Initialize the decl env Object, call object, and any arguments obj of the current frame. bool jit::EnsureHasScopeObjects(JSContext* cx, AbstractFramePtr fp) { // Ion does not compile eval scripts. MOZ_ASSERT(!fp.isEvalFrame()); if (fp.isFunctionFrame() && fp.callee()->needsCallObject() && !fp.hasCallObj()) { return fp.initFunctionScopeObjects(cx); } return true; }