Closed
Bug 781171
Opened 13 years ago
Closed 12 years ago
Remove MOZ_SIZE_OF_TYPE
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: espindola, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
|
9.18 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
This macro causes problem for doing universal builds. It should be replace with #ifdefs in header files.
Comment 1•13 years ago
|
||
The obvious place for hardcoding what we've been testing for is jscpucfg.h:
http://mxr.mozilla.org/mozilla-central/source/js/src/jscpucfg.h
Comment 2•13 years ago
|
||
I'd rather jscpucfg.h didn't exist, ideally, and it'd be nice to discourage adding to or changing it. I once started work on a mfbt/CPU.h header, sitting in an mq now, containing only mozilla::PointerSize at the time. Possibly stuff like this should be moved into that header as well. (I'm not sure if I ever filed a bug for the work, and I'm not sure I actually finished it, either.) Possibly I could pick that up again now, although I need to strategically tunnel out of a month's backlog of bugmail and other such things before I do anything else. :-)
Updated•12 years ago
|
Updated•12 years ago
|
Comment 3•12 years ago
|
||
Applying this is not a good idea right now, as there are dependent bugs outstanding,
but I promise to apply them all in the right order.
Attachment #816036 -
Flags: review?(mh+mozilla)
Comment 4•12 years ago
|
||
Comment on attachment 816036 [details] [diff] [review]
delete JS_BYTES_PER_WORD/JS_BITS_PER_WORD from configure.in
Review of attachment 816036 [details] [diff] [review]:
-----------------------------------------------------------------
You need to update js/src/aclocal.m4 too.
Attachment #816036 -
Flags: review?(mh+mozilla) → review+
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•