Closed Bug 738072 Opened 8 years ago Closed 8 years ago

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

Categories

(Core :: JavaScript Engine, defect, minor)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: Waldo, Unassigned)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
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
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.