[turbofan] Add frame state before JavaScript comparisons.
authorbmeurer <bmeurer@chromium.org>
Wed, 13 May 2015 07:38:42 +0000 (00:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 May 2015 07:38:35 +0000 (07:38 +0000)
commit2111d18dbad8ce14124d69488aa3568dd4604768
tree33a0d248e1813925f55f4dc6408101f4ab46daec
parentb57428e9efe2b07656e5d78fbcfb2d4ba62bb86b
[turbofan] Add frame state before JavaScript comparisons.

Use these check points to optimize comparisons where we already know
that one side cannot be a String (or turn into a string via
ToPrimitive).

Also remove bunch of useless DoNotCrash tests for the scheduler that are
painful to maintain and add almost no value.

R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28383}
src/compiler/ast-graph-builder.cc
src/compiler/js-typed-lowering.cc
src/compiler/js-typed-lowering.h
src/compiler/operator-properties.cc
test/mjsunit/compiler/deopt-tonumber-compare.js [new file with mode: 0644]
test/unittests/compiler/js-operator-unittest.cc
test/unittests/compiler/scheduler-unittest.cc