[strong] Disallow implicit conversions for comparison
authorconradw <conradw@chromium.org>
Tue, 12 May 2015 15:23:53 +0000 (08:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 15:23:50 +0000 (15:23 +0000)
commit03ef40b46cfebdd10b31e2baf1d5d10d4c8c5cce
tree8e90cbbd3b98814a746e1639004793b17beb003e
parent188297160d2b82a4e2a206ebbddfc21dd99a9d8d
[strong] Disallow implicit conversions for comparison

Implements the strong mode proposal's restrictions on implicit conversions
for the binary >, >=, <, and <= operators.

BUG=v8:3956
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28370}
45 files changed:
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/arm/lithium-arm.h
src/arm/lithium-codegen-arm.cc
src/arm64/code-stubs-arm64.cc
src/arm64/full-codegen-arm64.cc
src/arm64/lithium-arm64.h
src/arm64/lithium-codegen-arm64.cc
src/builtins.h
src/code-factory.cc
src/code-factory.h
src/code-stubs.h
src/compiler/js-generic-lowering.cc
src/compiler/js-typed-lowering.cc
src/hydrogen.cc
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/ia32/lithium-ia32.h
src/ic/ic.cc
src/ic/ic.h
src/mips/code-stubs-mips.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.cc
src/mips/lithium-mips.h
src/mips64/code-stubs-mips64.cc
src/mips64/full-codegen-mips64.cc
src/mips64/lithium-codegen-mips64.cc
src/mips64/lithium-mips64.h
src/ppc/code-stubs-ppc.cc
src/ppc/full-codegen-ppc.cc
src/ppc/lithium-codegen-ppc.cc
src/ppc/lithium-ppc.h
src/runtime.js
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
src/x64/lithium-x64.h
src/x87/code-stubs-x87.cc
src/x87/full-codegen-x87.cc
src/x87/lithium-codegen-x87.cc
src/x87/lithium-x87.h
test/cctest/compiler/test-js-typed-lowering.cc
test/mjsunit/strong/implicit-conversions-inlining.js
test/mjsunit/strong/implicit-conversions.js