[turbofan] Initial attempt to cleanup Node and related classes.
authorbmeurer <bmeurer@chromium.org>
Fri, 16 Jan 2015 11:04:01 +0000 (03:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 11:04:22 +0000 (11:04 +0000)
commit835cc463a8c8c50b812224c5f246164d30066da2
tree35644225d4d0a44bce40c4d37d7f34087dea2d4a
parent6950ead0b0a8373441dc8f8d3b2c316e82549ce9
[turbofan] Initial attempt to cleanup Node and related classes.

- Make Node::Inputs and Node::Uses mostly STL compliant.
- Get rid of some pre-C++11 crappiness.
- Start moving unit tests from cctest to unittests.
- TrimInputCount() now tries to reserve inputs slots for
  later appending.
- Fix numerous style guide violations.

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

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

Cr-Commit-Position: refs/heads/master@{#26098}
28 files changed:
BUILD.gn
src/compiler/arm/instruction-selector-arm.cc
src/compiler/arm64/instruction-selector-arm64.cc
src/compiler/common-operator.cc
src/compiler/common-operator.h
src/compiler/control-reducer.cc
src/compiler/graph-reducer.cc
src/compiler/graph-visualizer.cc
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/instruction-selector.cc
src/compiler/js-inlining.cc
src/compiler/machine-operator-reducer.cc
src/compiler/mips/instruction-selector-mips.cc
src/compiler/mips64/instruction-selector-mips64.cc
src/compiler/node-properties.cc [new file with mode: 0644]
src/compiler/node-properties.h
src/compiler/node.cc
src/compiler/node.h
src/compiler/scheduler.cc
src/compiler/verifier.cc
src/compiler/x64/instruction-selector-x64.cc
test/cctest/compiler/test-control-reducer.cc
test/cctest/compiler/test-node.cc
test/unittests/compiler/graph-unittest.cc
test/unittests/compiler/node-properties-unittest.cc [new file with mode: 0644]
test/unittests/compiler/node-unittest.cc [new file with mode: 0644]
test/unittests/unittests.gyp
tools/gyp/v8.gyp