Closed
Bug 1228981
Opened 9 years ago
Closed 8 years ago
Ion-inline obj_propertyIsEnumerable in simple cases
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
DUPLICATE
of bug 1147154
Tracking | Status | |
---|---|---|
firefox45 | --- | affected |
People
(Reporter: till, Unassigned)
References
(Blocks 1 open bug)
Details
Calling obj_propertyIsEnumerable in inner loops is needed in various spec algorithms, so having it be fast is a requirement for implementing them in self-hosted code.
Case in point: the proposed Object.values and Object.entries functions implemented in bug 1208464.
Alternatively and even better, we could add an ion-inlined self-hosting intrinsic for getting property flags. Then we could self-host various functions such as Object.getOwnPropertyDescriptor and only fall back on native calls for properties that aren't plain data properties.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•