[runtime] Replace the EQUALS builtin with proper Object::Equals.
authorbmeurer <bmeurer@chromium.org>
Tue, 15 Sep 2015 13:14:36 +0000 (06:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 13:14:44 +0000 (13:14 +0000)
commit54bab695f5de5bf5948c5b50b217628a00d60f91
treee913e8bdb70ae93506b22a3a4988916da3893c04
parent064be4c2964a94fb03ff32b531a9fcd7e73aac89
[runtime] Replace the EQUALS builtin with proper Object::Equals.

Move the implementation of the Abstract Equality Comparison to the
runtime and thereby remove the EQUALS dispatcher builtin. Also remove
the various runtime entry points that were only used to support the
EQUALS builtin.

Now the Abstract Equality Comparison is also using the correct
ToPrimitive implementation, which properly supports @@toPrimitive.

CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
R=mstarzinger@chromium.org
BUG=v8:4307
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#30747}
16 files changed:
src/api.cc
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/contexts.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/runtime.js
src/runtime/runtime-numbers.cc
src/runtime/runtime-object.cc
src/runtime/runtime-simd.cc
src/runtime/runtime.h
src/x64/code-stubs-x64.cc