Description[runtime] Remove premature optimization from ToPrimitive.
The !IS_SPEC_OBJECT(x) check implies both IS_STRING(x) and
IS_SIMD_VALUE(x), and generates shorter/better code. So we
can safely remove the redundant checks.
R=rossberg@chromium.org
Committed: https://crrev.com/0c674828dc2bdefd6f111d278408a938686edcfd
Cr-Commit-Position: refs/heads/master@{#30081}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|