[turbofan] Add support for deferred code.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Wed, 22 Oct 2014 11:24:55 +0000 (11:24 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Wed, 22 Oct 2014 11:24:55 +0000 (11:24 +0000)
commit6619a7975dd0b13cd0b2e78e807770f1d8912c36
tree3f38a8672dfd3167d6fdbd638bdb3b89b5f0a366
parent1efcf09375bb8abb26a5fd659b0450310acc3b7d
[turbofan] Add support for deferred code.

Branch can now have an optional hint, when the condition is
likely true or false, and if such a hint is present the other
basic block will be marked as deferred and placed at the end
of the function.

We currently use this feature for tagging int32/uint32 in
change lowering, and for load/store bounds checks in simplified
lowering.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
src/compiler/change-lowering.cc
src/compiler/code-generator.cc
src/compiler/code-generator.h
src/compiler/common-operator.cc
src/compiler/common-operator.h
src/compiler/graph-visualizer.cc
src/compiler/instruction-selector.cc
src/compiler/instruction.cc
src/compiler/instruction.h
src/compiler/operator-properties-inl.h
src/compiler/schedule.cc
src/compiler/schedule.h
src/compiler/scheduler.cc
src/compiler/simplified-lowering.cc
test/cctest/compiler/test-scheduler.cc
test/unittests/compiler/common-operator-unittest.cc