[turbofan] Relax effects and context for JSToNumber(x:plain-primitive).
authorBenedikt Meurer <bmeurer@chromium.org>
Tue, 16 Dec 2014 05:39:30 +0000 (06:39 +0100)
committerBenedikt Meurer <bmeurer@chromium.org>
Tue, 16 Dec 2014 05:39:46 +0000 (05:39 +0000)
commit283175d984cc3b7796d537a2b821b28e9c316c16
treec60beadc81b0aac6241b97794af9feaf43052b4b
parent2c30ab6616b352117b182244e729b0b004d2d8a8
[turbofan] Relax effects and context for JSToNumber(x:plain-primitive).

Relanded with fix for always returning Change for PlainPrimitive even
if there was no change. The performance regression on primes.js and
corrections.js is due to unlucky loop header alignment; will be addressed
separately.

TEST=unittests
R=svenpanne@chromium.org

Committed: https://chromium.googlesource.com/v8/v8/+/75484e8d16866eba7aa9c3b87841cd6ce2f466b8

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

Cr-Commit-Position: refs/heads/master@{#25832}
src/compiler/js-typed-lowering.cc
test/unittests/compiler/js-typed-lowering-unittest.cc