Closed Bug 1213165 Opened 9 years ago Closed 9 years ago

IonMonkey: MIPS32: Fix ion/bug901086.js failed

Categories

(Core :: JavaScript Engine: JIT, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: hev, Assigned: hev)

Details

Attachments

(1 file)

[heiher@lemote jit-test]$ /tmp/js.32 -f /mnt/git/mips64/gecko-dev/js/src/jit-test/lib/prologue.js --js-cache /mnt/git/mips64/gecko-dev/js/src/jit-test/.js-cache -e "const platform='linux2'; c
onst libdir='/mnt/git/mips64/gecko-dev/js/src/jit-test/lib/'; const scriptdir='/mnt/git/mips64/gecko-dev/js/src/jit-test/tests/ion/'" -f /mnt/git/mips64/gecko-dev/js/src/jit-test/tests/ion/bu
g901086.js
Illegal instruction (core dumped)
Fix numStackValues conffict with jitcode. We can't add register bit before real release it.
Attachment #8671732 - Flags: review?(nicolas.b.pierron)
Attachment #8671732 - Flags: review?(branislav.rankov)
Comment on attachment 8671732 [details] [diff] [review]
0001-IonMonkey-MIPS32-Fix-ion-bug901086.js-failed.patch

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

I guess the problem was related to the reuse of the scratch and numStackValues registers.
To be honest, I would prefer if the following calls would use regs.takeAny() instead of reusing the same named registers as we should expect a call to clobber most of the registers.
Attachment #8671732 - Flags: review?(nicolas.b.pierron) → review+
https://hg.mozilla.org/mozilla-central/rev/0e5643287c70
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: