[runtime] Unify and fix the strict equality comparison.
authorbmeurer <bmeurer@chromium.org>
Mon, 17 Aug 2015 08:01:55 +0000 (01:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 17 Aug 2015 08:02:08 +0000 (08:02 +0000)
commit9780ddeb9685c30cf64a337446b9a7413a3be64f
tree44e7579162e1696217ce8b5c9a9aba40382bc58e
parent9fdbc1e25c8fb9a0a1b0e9fbb36c817b2d70d58d
[runtime] Unify and fix the strict equality comparison.

Add Object::StrictEquals to unify the implementation of strict equality
comparison in the runtime and the api (the api was already missing a
case for SIMD).  Now we (almost) have a single bottleneck for strict
equality, we just need to reduce the amount of unnecessary complexity
for the code stub.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/1298603002

Cr-Commit-Position: refs/heads/master@{#30186}
17 files changed:
src/api.cc
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/builtins.h
src/ia32/code-stubs-ia32.cc
src/mips/code-stubs-mips.cc
src/mips64/code-stubs-mips64.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/ppc/code-stubs-ppc.cc
src/runtime.js
src/runtime/runtime-object.cc
src/runtime/runtime-simd.cc
src/runtime/runtime.h
src/x64/code-stubs-x64.cc
src/x87/code-stubs-x87.cc