Loading js/src/jit-test/tests/cacheir/bug1823212.js 0 → 100644 +13 −0 Original line number Diff line number Diff line with (newGlobal(this)) { eval(` function bar() {} function foo(a) { try { foo(); } catch { bar(...arguments); } } foo(); `); } js/src/jit/CacheIR.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -5532,7 +5532,7 @@ AttachDecision OptimizeSpreadCallIRGenerator::tryAttachArguments() { Rooted<Shape*> shape(cx_, GlobalObject::getArrayShapeWithDefaultProto(cx_)); if (!shape) { cx_->recoverFromOutOfMemory(); cx_->clearPendingException(); return AttachDecision::NoAction; } Loading Loading
js/src/jit-test/tests/cacheir/bug1823212.js 0 → 100644 +13 −0 Original line number Diff line number Diff line with (newGlobal(this)) { eval(` function bar() {} function foo(a) { try { foo(); } catch { bar(...arguments); } } foo(); `); }
js/src/jit/CacheIR.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -5532,7 +5532,7 @@ AttachDecision OptimizeSpreadCallIRGenerator::tryAttachArguments() { Rooted<Shape*> shape(cx_, GlobalObject::getArrayShapeWithDefaultProto(cx_)); if (!shape) { cx_->recoverFromOutOfMemory(); cx_->clearPendingException(); return AttachDecision::NoAction; } Loading