Unify implementation of JSOP_CHECKOBJCOERCIBLE and the self-hosted RequireObjectCoercible function

NEW
Unassigned

Status

()

Core
JavaScript Engine
P3
normal
7 months ago
2 months ago

People

(Reporter: shu, Unassigned)

Tracking

({triage-deferred})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 months ago
We have both a specialized JSOP and a self-hosted function for checking if an object is coercible. anba over in bug 1360220 removed uses of calling out to the self-hosted function in generated bytecode. I'd like to only have one implementation. We should remove the self-hosted function and special case calls to |RequireObjectCoercible| (renamed to something else, most likely) when emitting bytecode for self-hosted functions, like |allowContentIter|, to emit JSOP_CHECKOBJCOERCIBLE instead.
(Reporter)

Updated

7 months ago
See Also: → bug 1360220
Keywords: triage-deferred
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.