[strong] Fix inlining issue
authorconradw <conradw@chromium.org>
Wed, 6 May 2015 10:40:27 +0000 (03:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 10:40:38 +0000 (10:40 +0000)
commit97bee8e9644151cf6560c79991b82862066e1eb7
tree68bac388ada2703fed996fd0c8dcbfac753de1a5
parentbe9570027f34f8dbf60a7b530fe2499ff52c1a3d
[strong] Fix inlining issue

The Hydrogen representation for binops was never changed to care about the
language mode. We thought this was ok, but it turns out we need to keep track
of it to make sure inlining doesn't mess with the "strongness" of binops.

Also added more rigorous inlining testing.

BUG=v8:3956
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28253}
21 files changed:
src/arm/lithium-arm.h
src/arm/lithium-codegen-arm.cc
src/arm64/lithium-arm64.h
src/arm64/lithium-codegen-arm64.cc
src/hydrogen-instructions.cc
src/hydrogen-instructions.h
src/hydrogen.cc
src/ia32/lithium-codegen-ia32.cc
src/ia32/lithium-ia32.h
src/mips/lithium-codegen-mips.cc
src/mips/lithium-mips.h
src/mips64/lithium-codegen-mips64.cc
src/mips64/lithium-mips64.h
src/ppc/lithium-codegen-ppc.cc
src/ppc/lithium-ppc.h
src/x64/lithium-codegen-x64.cc
src/x64/lithium-x64.h
src/x87/lithium-codegen-x87.cc
src/x87/lithium-x87.h
test/mjsunit/strong/implicit-conversions-inlining.js [new file with mode: 0644]
test/mjsunit/strong/implicit-conversions.js