The default bug view has changed. See this FAQ.

Use uint32_t for slot numbers, indexes, counts, etc.

RESOLVED FIXED in mozilla14

Status

()

Core
JavaScript Engine
--
minor
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Waldo, Unassigned)

Tracking

Trunk
mozilla14
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 608132 [details] [diff] [review]
Patch

We limit slots to 32 bits, so we should use uint32_t for this, not size_t, unsigned, or whatever.  (Note that Shape::slot and other such things in jsscope.h already use uint32_t.)
Attachment #608132 - Flags: review?(dmandelin)
Attachment #608132 - Flags: review?(dmandelin) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/1dca64d7943a
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla13
Target Milestone: mozilla13 → mozilla14
https://hg.mozilla.org/mozilla-central/rev/1dca64d7943a
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.