Closed
Bug 1207210
Opened 9 years ago
Closed 9 years ago
MTypeBarrier::alwaysBails returns true for ObjectOrNull -> Null barrier
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
980 bytes,
patch
|
h4writer
:
review+
|
Details | Diff | Splinter Review |
This is causing a ton of bailouts on Octane-richards.
Attachment #8664282 -
Flags: review?(hv1989)
Comment 1•9 years ago
|
||
Comment on attachment 8664282 [details] [diff] [review]
Patch
Review of attachment 8664282 [details] [diff] [review]:
-----------------------------------------------------------------
Nice find!
::: js/src/jit/MIR.h
@@ +12427,5 @@
> return false;
> if (input()->type() == MIRType_Value)
> return false;
> + if (input()->type() == MIRType_ObjectOrNull) {
> + MOZ_ASSERT(type == MIRType_Null);
Can you mention here that the ObjectNull optimization currently is only applied when
the type is MIRType_Null ? To justify why we assert MIRType_Null here.
Attachment #8664282 -
Flags: review?(hv1989) → review+
Comment 3•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Blocks: 1207774
You need to log in
before you can comment on or make changes to this bug.
Description
•