Closed Bug 1308455 Opened 8 years ago Closed 8 years ago

testHeapAccess.js doesn't support big-endian platforms

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

49 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: petr.sumbera, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160922113459 Steps to reproduce: Several tests in testHeapAccess.js are failing because it was written for little-endian. Expected results: Please see proposed attached patch (generated against FF 45.4.0 ESR). With this patch all tests form testHeapAccess.js passes on both platforms.
Attachment #8798827 - Attachment is patch: true
Attachment #8798827 - Attachment mime type: text/x-patch → text/plain
Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core
Attachment #8798827 - Flags: review?(luke)
OOC, are you running this with the interpreter? I wasn't aware that our JITs supported big-endian.
Attachment #8798827 - Flags: review?(luke) → review+
Priority: -- → P5
Sorry I'm beginner here. I run it as part of 'make check-jit-test' in firefox js/src tree (on sparc).
Keywords: checkin-needed
seems this failed to apply: renamed 1308455 -> testHeapAccess-bigendian.diff applying testHeapAccess-bigendian.diff patching file js/src/jit-test/tests/asm.js/testHeapAccess.js Hunk #2 FAILED at 44 1 out of 4 hunks FAILED -- saving rejects to file js/src/jit-test/tests/asm.js/testHeapAccess.js.rej patch failed, unable to continue (try -v) patch failed, rejects left in working directory errors during apply, please fix and qrefresh testHeapAccess-bigendian.diff maybe need a rebase
Flags: needinfo?(petr.sumbera)
Flags: needinfo?(luke)
Keywords: checkin-needed
Attached patch Bug1308455.diffSplinter Review
I have merget the patch with latest FF version.
Flags: needinfo?(petr.sumbera)
Thanks
Flags: needinfo?(luke)
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7e92ee7d7239 testHeapAccess.js doesn't support big-endian platforms. r=luke
Keywords: checkin-needed
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: