Closed
Bug 881608
Opened 11 years ago
Closed 11 years ago
OdinMonkey: "Assertion failure: false (Unexpected argument type)" passing unknown around
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: jruderman, Assigned: luke)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(1 file)
2.78 KB,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
(function(stdlib, foreign) { "use asm"; var identity = foreign.identity; function f() { return identity(identity(0)) | 0; } return f; })(this, {identity:function(x){return x}}) Assertion failure: false (Unexpected argument type), at js/src/ion/x64/Assembler-x64.cpp:71 The first bad revision is: changeset: http://hg.mozilla.org/integration/mozilla-inbound/rev/9ce9c145e072 user: Luke Wagner date: Mon Jun 10 16:21:21 2013 -0700 summary: Bug 878526 - OdinMonkey: handle 'unknown' type properly for FFI functions with unused results (r=bbouvier)
Assignee | ||
Comment 1•11 years ago
|
||
Oops, there was an implicit case analysis in CheckCallArgs that was missed when adding Type::Unknown.
Comment 2•11 years ago
|
||
Comment on attachment 760934 [details] [diff] [review] fix and test Review of attachment 760934 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch.
Attachment #760934 -
Flags: review?(bbouvier) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/acda9f185e0b
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/acda9f185e0b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•