Note: There are a few cases of duplicates in user autocompletion which are being worked on.

jstracer.cpp fails to compile on AIX/xlC due to alloca

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
major
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: Andrew Paprocki, Unassigned)

Tracking

Trunk
PowerPC
AIX
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

7 years ago
Created attachment 465750 [details] [diff] [review]
jstracer.cpp patch

With g++/xlC, alloca exists as a compiler built-in, so in the case where alloca is not already defined, fall back on the built-in. Proper alloca detection should move to autoconf at some point, but since jstracer.cpp is the only usage of it, this at least makes it compile for now.
(Reporter)

Updated

7 years ago
Attachment #465750 - Attachment is patch: true
Attachment #465750 - Attachment mime type: application/octet-stream → text/plain
(Reporter)

Comment 1

6 years ago
Created attachment 569266 [details] [diff] [review]
Fix up alloca definition in jstracer to work on AIX/HP-UX.

Revisiting old bugs, rebased patch and cleaned up.
Attachment #465750 - Attachment is obsolete: true
Attachment #569266 - Flags: review?(gal)
Tracer has been removed.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Attachment #569266 - Flags: review?(gal)
You need to log in before you can comment on or make changes to this bug.