Description[runtime] Simplify CHECK_OBJECT_COERCIBLE.
Don't use IS_NULL_OR_UNDEFINED() for CHECK_OBJECT_COERCIBLE() because it
will also return true for undetectable objects, but use IS_NULL() and
IS_UNDEFINED() directly, which will only return true for null or
undefined (which matches the semantics of the abstract operation
CheckObjectCoercible).
R=yangguo@chromium.org
Committed: https://crrev.com/a7d22de460715df97b2b0f4838a505fe3f45ac46
Cr-Commit-Position: refs/heads/master@{#30129}
Patch Set 1 #
Messages
Total messages: 7 (1 generated)
|