[runtime] Remove useless IN builtin.
authorbmeurer <bmeurer@chromium.org>
Fri, 4 Sep 2015 08:44:27 +0000 (01:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 4 Sep 2015 08:44:38 +0000 (08:44 +0000)
commit3dc9b122fa9f7d551e05f5b9d7415bcfdcac92db
treeb7837dd15c308627d1111603274baf28df76659a
parent40fbed0609ddb3e4ee4338049383004b62d13853
[runtime] Remove useless IN builtin.

Similar to DELETE, the IN builtin is just a thin wrapper for %HasElement
and %HasProperty anyway, and cannot be optimized, plus it had a weird
special fast case (which also involved at least one LOAD_IC plus some
intrinsic magic).

R=yangguo@chromium.org,jarin@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_win_nosnap_shared_rel

Committed: https://crrev.com/72d60a1e80e81e2e68ca402665e2acbc46c5e471
Cr-Commit-Position: refs/heads/master@{#30154}

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

Cr-Commit-Position: refs/heads/master@{#30582}
32 files changed:
src/compiler/js-generic-lowering.cc
src/compiler/js-generic-lowering.h
src/compiler/js-intrinsic-lowering.cc
src/compiler/js-intrinsic-lowering.h
src/compiler/opcodes.h
src/compiler/simplified-lowering.cc
src/compiler/simplified-operator.cc
src/compiler/simplified-operator.h
src/compiler/typer.cc
src/compiler/verifier.cc
src/contexts.h
src/full-codegen/arm/full-codegen-arm.cc
src/full-codegen/arm64/full-codegen-arm64.cc
src/full-codegen/full-codegen.h
src/full-codegen/ia32/full-codegen-ia32.cc
src/full-codegen/mips/full-codegen-mips.cc
src/full-codegen/mips64/full-codegen-mips64.cc
src/full-codegen/ppc/full-codegen-ppc.cc
src/full-codegen/x64/full-codegen-x64.cc
src/full-codegen/x87/full-codegen-x87.cc
src/hydrogen.cc
src/runtime.js
src/runtime/runtime-numbers.cc
src/runtime/runtime-object.cc
src/runtime/runtime.h
test/cctest/compiler/test-run-inlining.cc
test/cctest/compiler/test-run-intrinsics.cc
test/cctest/test-api.cc
test/unittests/compiler/js-intrinsic-lowering-unittest.cc
test/unittests/compiler/node-test-utils.cc
test/unittests/compiler/node-test-utils.h
test/unittests/compiler/simplified-operator-unittest.cc