Closed Bug 1138489 Opened 9 years ago Closed 9 years ago

Remove JSPROP_INDEX

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

This API feature is unused. The #define can be renamed to JSPROP_RESERVED_BIT since we use it internally.
Attachment #8578542 - Flags: review?(jwalden+bmo)
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Comment on attachment 8578542 [details] [diff] [review]
Remove JSPROP_INDEX

Review of attachment 8578542 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/jsapi.h
@@ +895,5 @@
>                                             property; don't copy the property on
>                                             set of the same-named property in an
>                                             object that delegates to a prototype
>                                             containing this property */
> +#define JSPROP_RESERVED_BIT     0x80    /* internal use only */

JSPROP_INTERNAL_USE_BIT would be a better name.  "internal use" and "reserved" are really different meanings, aren't they?
Attachment #8578542 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/192e8bcb8b80
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: