Closed
Bug 839115
Opened 12 years ago
Closed 12 years ago
BaselineCompiler: IC for object equality
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
This will be easy after we removed the object equality hook.
Assignee | ||
Updated•12 years ago
|
Assignee: general → evilpies
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•12 years ago
|
||
Very simple object equality hook. This passes jit-tests, but we should maybe wait until the equality hook removal is merged.
Attachment #712948 -
Flags: review?(kvijayan)
Comment 2•12 years ago
|
||
Comment on attachment 712948 [details] [diff] [review] v1 Review of attachment 712948 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/BaselineIC.cpp @@ +1238,5 @@ > stub->addNewStub(stringStub); > return true; > } > + > + if (lhs.isObject() && rhs.isObject() && !stub->hasStub(ICStub::Compare_Object)) { The |!stub->hasStub(ICStub::Compare_Object)| check can be moved into the conditional and made into an ASSERT. If we've attached a Compare_Object stub, then we should never hit the fallback stub when both lhs and rhs are objects.
Attachment #712948 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/projects/ionmonkey/rev/39662d8948a6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•