[turbofan] Fix the node matchers.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 8 Sep 2014 09:16:11 +0000 (09:16 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Mon, 8 Sep 2014 09:16:11 +0000 (09:16 +0000)
commit2bbeb652eeaf979aac80a099556ae748dbdf4fe2
tree1a3c0ed359a9c8014d308ebcc239114ff28cf0c4
parentdab61bc310921d70e4d02275f7a09fa352466370
[turbofan] Fix the node matchers.

E.g. make sure that Int32Matcher matches only int32 constants, and
Float64Matcher matches only float64 constants.

Also remove the confusing CommonOperatorTraits, which are too easy
to use in a wrong way.

TEST=compiler-unittests,cctest
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
22 files changed:
src/compiler/arm/instruction-selector-arm.cc
src/compiler/arm64/instruction-selector-arm64-unittest.cc
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/common-operator.h
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/instruction-selector-impl.h
src/compiler/js-context-specialization.cc
src/compiler/js-inlining.cc
src/compiler/node-matchers.h
src/compiler/node.h
src/compiler/operator.h
src/compiler/representation-change.h
src/compiler/simplified-operator-reducer.cc
src/compiler/typer.cc
src/compiler/x64/instruction-selector-x64.cc
src/unique.h
test/cctest/compiler/test-js-constant-cache.cc
test/cctest/compiler/test-js-context-specialization.cc
test/cctest/compiler/test-js-typed-lowering.cc
test/cctest/compiler/test-machine-operator-reducer.cc
test/cctest/compiler/test-representation-change.cc
test/cctest/compiler/value-helper.h