[runtime] Remove useless DELETE builtin.
authorbmeurer <bmeurer@chromium.org>
Thu, 13 Aug 2015 09:41:36 +0000 (02:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 13 Aug 2015 09:41:50 +0000 (09:41 +0000)
commit3d01d31fa94f7cda711c12735cb69a1fe795cc8d
tree5a9a902dc65bab0ad48cdfe162951da1f5f040d0
parent2c5b69d85124021a39849d98960a39bdf1cece47
[runtime] Remove useless DELETE builtin.

The DELETE builtin calls through to %DeleteProperty anyway, so we
can as well skip the builtin completely and always call into the
runtime directly.  Also add different entries depending on whether
calling code is in sloppy or strict/strong mode.

R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30148}
16 files changed:
src/builtins.h
src/compiler/js-generic-lowering.cc
src/full-codegen/arm/full-codegen-arm.cc
src/full-codegen/arm64/full-codegen-arm64.cc
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-object.cc
src/runtime/runtime.h
src/v8natives.js
test/cctest/test-api.cc