[turbofan] cleanup InstructionOperand a little
authordcarney <dcarney@chromium.org>
Thu, 9 Apr 2015 09:15:28 +0000 (02:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 09:15:32 +0000 (09:15 +0000)
commit07ff6d9f22de49e5d9d8b2215864228e136a6cf5
tree43b88f5f1c22fa633e906546a771e5f313936ca0
parenta3dcfa2255520794e8040c1f4271e23f28a997ee
[turbofan] cleanup InstructionOperand a little

- ConstantOperand was using a too-small field too store its virtual register
- drop ConvertTo, replace it with simple copy
- split AllocatedOperand off from Immediate and Constant to make assignment clearer, also paving the way for small Immediates
- put zone first in *Operand::New
- driveby: drop delayed ssa deconstruction experiment

R=titzer@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27692}
23 files changed:
src/compiler/arm/code-generator-arm.cc
src/compiler/arm64/code-generator-arm64.cc
src/compiler/code-generator-impl.h
src/compiler/code-generator.cc
src/compiler/gap-resolver.cc
src/compiler/graph-visualizer.cc
src/compiler/ia32/code-generator-ia32.cc
src/compiler/instruction.cc
src/compiler/instruction.h
src/compiler/mips/code-generator-mips.cc
src/compiler/mips64/code-generator-mips64.cc
src/compiler/move-optimizer.cc
src/compiler/ppc/code-generator-ppc.cc
src/compiler/register-allocator-verifier.cc
src/compiler/register-allocator.cc
src/compiler/register-allocator.h
src/compiler/x64/code-generator-x64.cc
src/flag-definitions.h
test/cctest/compiler/test-gap-resolver.cc
test/cctest/compiler/test-jump-threading.cc
test/unittests/compiler/instruction-selector-unittest.cc
test/unittests/compiler/instruction-selector-unittest.h
test/unittests/compiler/move-optimizer-unittest.cc