Closed Bug 612624 Opened 11 years ago Closed 11 years ago

dtoa.c Omit_Private_Memory option fails to compile

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: andrew, Unassigned)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

We use the Omit_Private_Memory option so that dtoa always uses allocators. This Omit_Private_Memory option used to work but now fails because code accessing state->pmem_next and state->private_mem is not checking the #define that is used to declare them.

The attached patch adds the necessary #ifndef Omit_Private_Memory around this access so that dtoa.c builds properly with this option enabled.
http://hg.mozilla.org/mozilla-central/rev/8f24dc55e169
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.