Closed Bug 621043 Opened 9 years ago Closed 9 years ago

AIX: avmplus.h fails in xlC due to GCC-isms only on #ifdef __powerpc__

Categories

(Core :: JavaScript Engine, defect)

PowerPC
AIX
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: andrew, Unassigned)

Details

(Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey)

Attachments

(1 file)

The AVMPLUS_HAS_RDTSC definition for __powerpc__ has GCC-isms that cause xlC to fail. This simply puts it under a __GNUC__ check as well to ensure xlC falls through.
Attachment #499381 - Flags: review?(mrbkap)
Attachment #499381 - Flags: approval2.0?
Comment on attachment 499381 [details] [diff] [review]
Add __GNUC__ check to avmplus.h

r+ before a?, please

(we'll probably take these after we ship)
Attachment #499381 - Flags: approval2.0?
Attachment #499381 - Flags: review?(mrbkap) → review+
njn, we need to land this in the nanojit repo, right?
http://hg.mozilla.org/mozilla-central/rev/bbf2ca59e0a3
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.