[turbofan] cleanup ParallelMove
authordcarney <dcarney@chromium.org>
Wed, 15 Apr 2015 12:36:36 +0000 (05:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 12:36:27 +0000 (12:36 +0000)
commit00aec7907936326e9c8f12299419bde12b7eff60
treed44e240554d5c17525a61bb59977097022f94933
parent6198bbc56d5fc1c7ccb79ce7530b64958f6c5f19
[turbofan] cleanup ParallelMove

- make ParallelMove into a ZoneVector, removing an annoying level of indirection
- make MoveOperands hold InstructionOperands instead of pointers, so there's no more operand aliasing for moves
- opens up possibility of storing MachineType in allocated operands

R=bmeurer@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27842}
13 files changed:
src/compiler/gap-resolver.cc
src/compiler/gap-resolver.h
src/compiler/instruction.cc
src/compiler/instruction.h
src/compiler/move-optimizer.cc
src/compiler/register-allocator-verifier.cc
src/compiler/register-allocator.cc
src/compiler/register-allocator.h
src/zone-allocator.h
test/cctest/compiler/test-gap-resolver.cc
test/cctest/compiler/test-instruction.cc
test/cctest/compiler/test-jump-threading.cc
test/unittests/compiler/move-optimizer-unittest.cc