Closed
Bug 1267163
Opened 8 years ago
Closed 7 years ago
Port primitive value getprop stub to CacheIR
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
20.35 KB,
patch
|
efaust
:
review+
|
Details | Diff | Splinter Review |
This is just a port of the existing stub. I think with the IR it'd be easy now to also handle properties on the proto's prototype (Object.prototype), but we can do that later. 7 files changed, 99 insertions(+), 202 deletions(-)
Attachment #8744841 -
Flags: review?(efaustbmo)
Comment 1•8 years ago
|
||
Comment on attachment 8744841 [details] [diff] [review] Patch Review of attachment 8744841 [details] [diff] [review]: ----------------------------------------------------------------- It strikes me that we should have a commented list of what IR ops already exist, so that people adding new stuff later don't feel compelled to re-invent the wheel. ::: js/src/jit/CacheIR.cpp @@ +72,3 @@ > } > > + if (!emitted_ && !tryAttachPrimitive(*writer, valId)) Is this better than else { }? Either way is fine.
Attachment #8744841 -
Flags: review?(efaustbmo) → review+
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/71808c547e9c Port primitive value getprop stub to CacheIR. r=efaust
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c64ed9250f55 followup - Use static_assert instead of MOZ_ASSERT. r=red, CLOSED TREE
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/71808c547e9c https://hg.mozilla.org/mozilla-central/rev/c64ed9250f55
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•