Closed
Bug 993174
Opened 10 years ago
Closed 10 years ago
Fix non-unified build error in Simulator-arm.cpp
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: sunfish, Assigned: sunfish)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.73 KB,
patch
|
mjrosenb
:
review+
|
Details | Diff | Splinter Review |
Simulator-arm.cpp uses __aeabi_idivmod and __aeabi_uidivmod before it defines them. This appears to work in unified builds, because they are declared in other cpp files, but in the non-unified build, those aren't visible, so it doesn't build. The attached patch fixes this by moving the definitions of these functions to the top of Simulator-arm.cpp so that they're declared before being used.
Assignee | ||
Comment 1•10 years ago
|
||
Comment on attachment 8402987 [details] [diff] [review] decl-order.patch Here's the patch you suggested on irc.
Attachment #8402987 -
Flags: review?(mrosenberg)
Updated•10 years ago
|
Attachment #8402987 -
Flags: review?(mrosenberg) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a6ba4478e9d2
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a6ba4478e9d2
Assignee: nobody → sunfish
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Comment 4•10 years ago
|
||
Noticed that this bug is causing a failure on try runs of the beta branch. It's only a small patch, and might it be useful to uplift it?
Comment 5•10 years ago
|
||
That means it also affects being able to push B2G 1.4 to Try, so I would agree that we should probably take it. Please nominate :)
Comment 6•10 years ago
|
||
Comment on attachment 8402987 [details] [diff] [review] decl-order.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 959597. User impact if declined: None, but it causes a failure running a try build on the beta branch see: https://tbpl.mozilla.org/php/getParsedLog.php?id=39898819&tree=Try Testing completed (on m-c, etc.): Tested on m-c, and it fixed a failure on a try run on the beta branch. Risk to taking this patch (and alternatives if risky): Low risk, the patch is to the ARM simulator used for testing and does not affect deployed code. String or IDL/UUID changes made by this patch: n/a
Attachment #8402987 -
Flags: approval-mozilla-beta?
Comment 7•10 years ago
|
||
Note that this patch doesn't need approval AFAIK; Simulator-arm.cpp is NPOTB.
Comment 8•10 years ago
|
||
Comment on attachment 8402987 [details] [diff] [review] decl-order.patch Go ahead with a=NPOTB in that case.
Attachment #8402987 -
Flags: approval-mozilla-beta?
Updated•10 years ago
|
Whiteboard: [checkin-needed-beta]
Updated•10 years ago
|
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•