Closed Bug 942258 Opened 12 years ago Closed 12 years ago

Assertion failure: mir->canBeDivideByZero(), at jit/shared/CodeGenerator-x86-shared.cpp

Categories

(Core :: JavaScript Engine: JIT, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: gkw, Assigned: sunfish)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])

Attachments

(2 files)

Attached file stack
function f(x) { y(((x >>> 0) / (x >>> 0)) >> 0) } for (var i = 0; i < 2; i++) { try { f(Number.MAX_VALUE) } catch (e) {} } function g() { x ? (x ? (f(0x80000000, y) ? f : 0) : x) : y } g() asserts js debug shell on m-c changeset c7cbfa315d46 with --ion-eager at Assertion failure: mir->canBeDivideByZero(), at jit/shared/CodeGenerator-x86-shared.cpp My configure flags are: CC="clang -Qunused-arguments" AR=ar CXX="clang++ -Qunused-arguments" sh ./configure --target=x86_64-apple-darwin12.5.0 --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --with-ccache --disable-threadsafe
autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: http://hg.mozilla.org/mozilla-central/rev/2a5427c3a4ba user: Dan Gohman date: Wed Nov 20 21:53:51 2013 -0800 summary: Bug 939893 - IonMonkey: Handle x/x in lowerUDiv. r=bhackett Dan, is bug 939893 a likely regressor?
Blocks: 939893
Flags: needinfo?(sunfish)
Assignee: general → sunfish
Attachment #8337143 - Flags: review?(bhackett1024)
Flags: needinfo?(sunfish)
Attachment #8337143 - Flags: review?(bhackett1024) → review+
Depends on: 941877
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: