[turbofan] Drop broken StaticParameterTraits.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 7 Oct 2014 13:30:28 +0000 (13:30 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 7 Oct 2014 13:30:28 +0000 (13:30 +0000)
commita17289f4bc834d240a5cfa78818c5668fd5b500a
tree276692409c7e75f1c48b19586612ea1f0b0e33ff
parent304d91d2a7718b7122f429a714fc99cfc63dae36
[turbofan] Drop broken StaticParameterTraits.

The StaticParameterTraits are broken by design, and cause way too much
trouble. The compilers usually pick the wrong specialization (i.e. the
default specialization is picked for Load and Phi even tho there is a
specialization for MachineType), which is not only the reason why GVN is
ineffective and slow, but can also lead to correctness issues in some
rare cases.

Also clean up some minor bugs/inconsistencies on the way.

TEST=cctest,unittests
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24437 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
29 files changed:
src/assembler.cc
src/assembler.h
src/compiler/common-operator.cc
src/compiler/common-operator.h
src/compiler/js-graph.cc
src/compiler/js-graph.h
src/compiler/js-operator.cc
src/compiler/js-operator.h
src/compiler/machine-operator.cc
src/compiler/machine-operator.h
src/compiler/node-matchers.h
src/compiler/node.cc
src/compiler/operator.cc
src/compiler/operator.h
src/compiler/raw-machine-assembler.h
src/compiler/simplified-operator.cc
src/compiler/simplified-operator.h
src/runtime/runtime.cc
src/runtime/runtime.h
src/unique.h
src/utils.cc
src/utils.h
test/cctest/compiler/codegen-tester.cc
test/cctest/compiler/simplified-graph-builder.h
test/cctest/compiler/test-codegen-deopt.cc
test/cctest/compiler/test-js-typed-lowering.cc
test/cctest/compiler/test-operator.cc
test/cctest/compiler/test-scheduler.cc
test/unittests/compiler/graph-unittest.cc