Closed
Bug 1092110
Opened 10 years ago
Closed 10 years ago
Fix a few build warnings on debug x86 build and opt builds
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: bbouvier, Assigned: bbouvier)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
1.80 KB,
patch
|
dougc
:
review+
|
Details | Diff | Splinter Review |
994 bytes,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
12.13 KB,
patch
|
dougc
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Apparently |end - curEntry| is considered as signed, so let's just make it
explicitly an unsigned pointer value (end is guaranteed to be > than curEntry
in ExpectedRunLength).
And a drive by trailing whitespace cleaning as well.
Attachment #8514956 -
Flags: review?(kvijayan)
Assignee | ||
Comment 2•10 years ago
|
||
Fallout of bug 1066659, which removed all uses but not the field itself.
Attachment #8514957 -
Flags: review?(bhackett1024)
Assignee | ||
Comment 3•10 years ago
|
||
This moves a few functions / variables into #ifdef DEBUG blocks, moves some variables into their MOZ_ASSERT only-uses, makes some variables DebugOnly. This reduces a lot the number of warnings in all builds (gcc x64 opt & debug, gcc x32 opt & debug, and sames for clang).
Jason, asking review to you as it touches a lot of parts of the JS engine, feel free to bounce to anybody else.
Attachment #8514958 -
Flags: review?(jorendorff)
Assignee | ||
Comment 4•10 years ago
|
||
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=c6873b761b99 (shared x86 codegen patch has been folded into the last patch in the meanwhile)
Updated•10 years ago
|
Attachment #8514957 -
Flags: review?(bhackett1024) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8514958 [details] [diff] [review]
Make a few functions / variables debugonly
Review of attachment 8514958 [details] [diff] [review]:
-----------------------------------------------------------------
> Bug 1092110: Make a few functions and members debug only;
> * * *
> Bug 1092110: Move some debug only declarations into assertions; r=sunfish
Don't forget to fix the commit message
Updated•10 years ago
|
Blocks: buildwarning
Comment 6•10 years ago
|
||
Comment on attachment 8514958 [details] [diff] [review]
Make a few functions / variables debugonly
Review of attachment 8514958 [details] [diff] [review]:
-----------------------------------------------------------------
If it builds it seems ok.
Attachment #8514958 -
Flags: review?(jorendorff) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8514956 [details] [diff] [review]
Fix a signed/unsigned comparison in JitcodeMap
Review of attachment 8514956 [details] [diff] [review]:
-----------------------------------------------------------------
Looks functionally correct.
Attachment #8514956 -
Flags: review?(kvijayan) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Thanks douglas for stealing the reviews!
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/81998c889766
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/9c0efc3d1207
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/6e3bfcef5b4b
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/81998c889766
https://hg.mozilla.org/mozilla-central/rev/9c0efc3d1207
https://hg.mozilla.org/mozilla-central/rev/6e3bfcef5b4b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•