Closed
Bug 1337764
Opened 7 years ago
Closed 7 years ago
Attach In stub for proxies
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
DUPLICATE
of bug 1357759
Performance Impact | low |
People
(Reporter: evilpie, Assigned: tcampbell)
References
(Blocks 1 open bug)
Details
ArrayMap and others are used with NodeLists, which are proxies. But I also see normal property names with |in| and proxies. So we should just optimize values in general.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Whiteboard: [qf:p3]
Comment 1•7 years ago
|
||
Can you explain the issue here in more detail? I don't understand what the issue is.
Updated•7 years ago
|
Flags: needinfo?(evilpies)
Assignee | ||
Comment 2•7 years ago
|
||
https://searchfox.org/mozilla-central/source/js/src/jit/CacheIR.cpp#1843 We currently fail to attach ICs for JSOP_IN for most things that are not NativeObject (such as proxies). Tom proposed we should extend InIRGenerator::tryAttachStub since the proxy case occurs in the wild.
Flags: needinfo?(evilpies)
Reporter | ||
Comment 3•7 years ago
|
||
This would be almost identical to this patch: https://hg.mozilla.org/integration/mozilla-inbound/rev/a9d036ef05e8. Maybe we should look into unify hasOwnProperty an |in|.
Reporter | ||
Comment 4•7 years ago
|
||
Sorry, this was meant for bug 1337773. But I actually wrote code for Proxy with hasOwnProperty as well: https://hg.mozilla.org/integration/mozilla-inbound/rev/d505fbfbd4e2
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → tcampbell
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•7 years ago
|
||
This work is merged into Bug 1357759
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Performance Impact: --- → P3
Whiteboard: [qf:p3]
You need to log in
before you can comment on or make changes to this bug.
Description
•