[turbofan] Initial support for Switch.
authorbmeurer <bmeurer@chromium.org>
Mon, 9 Feb 2015 08:56:01 +0000 (00:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Feb 2015 08:56:12 +0000 (08:56 +0000)
commitfeb2890711e8072a9550abb89621929816fc9699
treeff16606458dbb04cda6a64da7ca4565366ee3e2c
parent4ee51619620ae86a27fc5ad7c3d24240ed880303
[turbofan] Initial support for Switch.

Adds Switch and Case operators to TurboFan and handles them
appropriately in instruction selection and code generation.

BUG=v8:3872
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#26515}
25 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/code-generator.h
src/compiler/common-operator.cc
src/compiler/common-operator.h
src/compiler/ia32/code-generator-ia32.cc
src/compiler/instruction-codes.h
src/compiler/instruction-selector.cc
src/compiler/instruction-selector.h
src/compiler/opcodes.h
src/compiler/operator.cc
src/compiler/operator.h
src/compiler/raw-machine-assembler.cc
src/compiler/raw-machine-assembler.h
src/compiler/schedule.cc
src/compiler/schedule.h
src/compiler/scheduler.cc
src/compiler/verifier.cc
src/compiler/x64/code-generator-x64.cc
src/disassembler.cc
test/cctest/compiler/test-run-machops.cc
test/unittests/compiler/common-operator-unittest.cc
test/unittests/compiler/scheduler-unittest.cc