Closed
Bug 695908
Opened 13 years ago
Closed 12 years ago
Use bool in js/src/frontend rather than JSBool
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(2 files, 1 obsolete file)
99.20 KB,
patch
|
ejpbruel
:
review+
|
Details | Diff | Splinter Review |
39.82 KB,
patch
|
ejpbruel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 2•12 years ago
|
||
Simple search and replace.
Attachment #568247 -
Attachment is obsolete: true
Attachment #638469 -
Flags: review?(ejpbruel)
Assignee | ||
Comment 3•12 years ago
|
||
Simple search and replace again, separate only because types can be trickier in C++. Still, I looked at each case at least briefly and found no trickiness.
Attachment #638470 -
Flags: review?(ejpbruel)
Comment 4•12 years ago
|
||
Comment on attachment 638469 [details] [diff] [review] Part 1 - Boolean literals, v2 Review of attachment 638469 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. r+ provided it builds.
Attachment #638469 -
Flags: review+
Comment 5•12 years ago
|
||
Comment on attachment 638470 [details] [diff] [review] Part 2 - Switch from JSBool to bool Review of attachment 638470 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine to me as well.
Attachment #638470 -
Flags: review+
Assignee | ||
Comment 7•12 years ago
|
||
Ms2ger: Yeah, I'm aware of it. What happened was, during my search-and-replace, I came across that line, and it seemed very unlikely that that file actually needed that #include. Sure enough it compiles fine without it. https://hg.mozilla.org/integration/mozilla-inbound/rev/b23429ce0d81 https://hg.mozilla.org/integration/mozilla-inbound/rev/1e28b1f771c1
Assignee | ||
Updated•12 years ago
|
Attachment #638469 -
Flags: review?(ejpbruel)
Assignee | ||
Updated•12 years ago
|
Attachment #638470 -
Flags: review?(ejpbruel)
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b23429ce0d81 https://hg.mozilla.org/mozilla-central/rev/1e28b1f771c1
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment 9•12 years ago
|
||
This bug, or something which was merged to mozilla-central in the same push, caused a permanent orange on Linux32 mochitest-chrome for builds without frame pointers (example log: <https://tbpl.mozilla.org/php/getParsedLog.php?id=13227357&tree=Profiling&full=1>). This is important because framepointers are not enabled on Aurora, so this permaorange will appear there on the next uplift. I backed out this patch as part of the rest of the js and xpconnect patches in the same merge push. Please test this patch locally (and push to the try server if needed by taking out the --enable-profiling command from the Linux32 mozconfig) and reland when you make sure that it's not the cause behind the perma-orange. I apologize in advance for the inconvenience in case this patch is not at fault. Backout changeset: https://hg.mozilla.org/mozilla-central/rev/77407e03e22f https://hg.mozilla.org/mozilla-central/rev/de50598e2329
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•12 years ago
|
||
In order to test whether this patch is at fault, push it to try with --enable-profiling removed from browser/config/mozconfigs/linux32/nightly, and if you get a green Linux Moth run, you're good to go! And in turn you can reproduce the crash on try with your patch, I'd suggest you keep the possibility of having hit a compiler bug in mind. :-)
Comment 11•12 years ago
|
||
Also, note that these backouts indeed made the Linux32 Moth runs on the profiling branch green again, so we can be fairly certain that one of the backed out patches was at fault.
Assignee | ||
Comment 12•12 years ago
|
||
Ehsan: great work, and thanks for telling me how to proceed. Green Linux32 Moth runs with --enable-profiling removed: https://tbpl.mozilla.org/?tree=Try&rev=5c33be0ba83d Relanded, therefore: https://hg.mozilla.org/integration/mozilla-inbound/rev/936e436201e0 https://hg.mozilla.org/integration/mozilla-inbound/rev/8361bdf249cb
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/936e436201e0 https://hg.mozilla.org/mozilla-central/rev/8361bdf249cb
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•