Closed Bug 1164815 Opened 9 years ago Closed 9 years ago

Use an enum to define GlobalObject slot constants

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

At the moment each slot constant is defined by adding one to the value of the previous constant.
Attachment #8605778 - Flags: review?(luke)
Comment on attachment 8605778 [details] [diff] [review]
tidy-global-slots

Hah, how did that happen.
Attachment #8605778 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/0905ec1225cc
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: