Closed Bug 1690702 Opened 4 years ago Closed 4 years ago

Set isSameRealm for FunCall and FunApply

Categories

(Core :: JavaScript Engine: JIT, task, P2)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: iain, Assigned: iain)

Details

Attachments

(1 file)

While debugging scalar replacement of foo.apply({}, arguments, I noticed that isSameRealm wasn't being set in my test case, even though we were calling a known same-realm target. It turns out that we just forgot to set the flag in the Specialized branch of tryAttachFunApply/tryAttachFunCall.

Pushed by iireland@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d204961b4be8 Set isSameRealm flag for FunCall and FunApply r=jandem
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: