Closed
Bug 720925
Opened 11 years ago
Closed 11 years ago
IonMonkey: Add Object comparison
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dvander, Assigned: dvander)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
13.95 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
This is needed to run kraken-ai-astar.
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Attachment #591546 -
Flags: review?(sstangl)
![]() |
Assignee | |
Comment 2•11 years ago
|
||
Attachment #591546 -
Attachment is obsolete: true
Attachment #591546 -
Flags: review?(sstangl)
Attachment #591548 -
Flags: review?
Comment 3•11 years ago
|
||
Comment on attachment 591548 [details] [diff] [review] actual patch Review of attachment 591548 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/LIR-Common.h @@ +385,1 @@ > class LCompareI : public LInstructionHelper<1, 2, 0> Keeping the I suffix seems misleading. LCompareIO? LCompareIvO (the "v" being "or")? Same with LCompareIAndBranch. ::: js/src/ion/Lowering.cpp @@ +223,5 @@ > MCompare *comp = opd->toCompare(); > MDefinition *left = comp->getOperand(0); > MDefinition *right = comp->getOperand(1); > > + if (comp->specialization() == MIRType_Int32|| comp->specialization() == MIRType_Object) { nit: space between MIRType_Int32 and ||. ::: js/src/ion/TypePolicy.h @@ +118,5 @@ > > public: > + ComparePolicy() : specialization_(MIRType_None) > + { > + } nit: ComparePolicy() : specialization_(MIRType_None) { } ::: js/src/ion/shared/CodeGenerator-x86-shared.cpp @@ +226,5 @@ > } > } > > +void > +CodeGeneratorX86Shared::emitCompare(MIRType type, const LAllocation *left, const LAllocation *right) emitCompareIvO? @@ +227,5 @@ > } > > +void > +CodeGeneratorX86Shared::emitCompare(MIRType type, const LAllocation *left, const LAllocation *right) > +{ JS_ASSERT(type == MIRType_Object || type == MIRType_Int32);
Attachment #591548 -
Flags: review? → review+
![]() |
Assignee | |
Comment 4•11 years ago
|
||
http://hg.mozilla.org/projects/ionmonkey/rev/b2a4c499d052
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
![]() |
||
Comment 5•11 years ago
|
||
It's a bug or this patch really made IM 5.4x times faster than JM+TI? (looking at awfy)
![]() |
||
Comment 6•11 years ago
|
||
On 652377 testcase.
Comment 7•11 years ago
|
||
(In reply to Guilherme Lima from comment #5) > It's a bug or this patch really made IM 5.4x times faster than JM+TI? > (looking at awfy) It's a bug: debug builds trip an assert.
![]() |
Assignee | |
Comment 8•11 years ago
|
||
It's also unrelated to this patch (awfy only tests on the hour) - bug 721272 fixed a typo that caused more paths to compile, exposing more bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•