Closed Bug 729795 Opened 12 years ago Closed 12 years ago

IonMonkey: Assertion failure: unexpected type, at ion/Lowering.cpp:741

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: dvander)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following testcase asserts on ionmonkey revision 5a04fd69aa09 (run with --ion -n -m --ion-eager), tested on 64 bit:


var summary = 'TM: never abort on ==';
for(i=0;i<500000;++(summary)) { var r = (void 0) == null; }
Assignee: general → dvander
Status: NEW → ASSIGNED
Attached patch fixSplinter Review
Another easy bug - MToDouble is manually inserted during MIR building, but we didn't guarantee its inputs were boxed. This just introduces a new type policy (better names welcome).
Attachment #599870 - Flags: review?(jdemooij)
Comment on attachment 599870 [details] [diff] [review]
fix

Review of attachment 599870 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/ion/TypePolicy.h
@@ +193,5 @@
> +    bool specialized_;
> +
> +  public:
> +    SimplePolicy()
> +      : specialized_(false)

This should be |true|, I think.
Attachment #599870 - Flags: review?(jdemooij) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/09c92bc3b012
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug729795.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.