Closed Bug 1064551 Opened 10 years ago Closed 10 years ago

Unify JSPROP_GETTER and JSPROP_SETTER -> JSPROP_ACCESSOR

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1133315

People

(Reporter: jorendorff, Unassigned)

References

Details

There's no need for two separate flags; the case "this property has a getter but no setter" can simply be represented by having the JSPROP_ACCESSOR bit set, but setter == nullptr.
Depends on: 1065507
Duping forward to saner bug. We can't unify JSPROP_GETTER and JSPROP_SETTER; they represent "this descriptor has a [[Get]]/[[Set]] field" on incomplete property descriptors.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.