Closed
Bug 960653
Opened 10 years ago
Closed 10 years ago
shrink JSJitInfo.{protoID,depth} fields
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: froydnj, Assigned: froydnj)
References
Details
Attachments
(2 files)
2.31 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
efaust
:
review+
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Technically, I think that narrowing warnings in GCC/Clang (MSVC?) would catch this too, but this is a more robust solution that doesn't rely on faraway warning flags in the build system. The uint64_t cast is to make this compile with the current uint32_t field definitions; the shift would be undefined if the |1| was of type int.
Attachment #8361203 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•10 years ago
|
||
Trivial change which buys us another four bytes.
Attachment #8361205 -
Flags: review?(efaustbmo)
Comment 3•10 years ago
|
||
Comment on attachment 8361203 [details] [diff] [review] part 1 - assert that we don't overflow JSJitInfo fields in bindings codegen r=me
Attachment #8361203 -
Flags: review?(bzbarsky) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8361205 [details] [diff] [review] part 2 - change JSJitInfo.{protoID,depth} to 16-bit fields r=me, fwiw. Feel free to just go with it.
Attachment #8361205 -
Flags: review+
Comment 5•10 years ago
|
||
Comment on attachment 8361205 [details] [diff] [review] part 2 - change JSJitInfo.{protoID,depth} to 16-bit fields Review of attachment 8361205 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, this should be fine. r=me
Attachment #8361205 -
Flags: review?(efaustbmo) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2da6a47736c5 https://hg.mozilla.org/integration/mozilla-inbound/rev/4b7079694645
Flags: in-testsuite-
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2da6a47736c5 https://hg.mozilla.org/mozilla-central/rev/4b7079694645
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•