Closed Bug 944014 Opened 11 years ago Closed 8 years ago

Baseline compiler doesn't have an IC for method calls on DOM proxies

Categories

(Core :: JavaScript Engine: JIT, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1319437

People

(Reporter: bzbarsky, Assigned: efaust)

References

(Blocks 2 open bugs)

Details

Like document.querySelectorAll() say. In TryAttachNativeGetPropStub we do: if (!isDOMProxy && IsCacheableGetPropReadSlot(obj, holder, shape)) { but of course isDOMProxy is true. And IsCacheableGetPropCall returns false in this case, since this is a slot property.
For the document case we need to handle DoesntShadowUnique, sadly.
Eric wanted to take this.
Assignee: nobody → efaustbmo
Blocks: 940815
Blocks: 1007631
Priority: -- → P3
I think this should be handled by GetPropIRGenerator::tryAttachDOMProxyUnshadowed in CacheIR.
Yes bug 1319437 fixed this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.