diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-07-01 12:20:27 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-07-01 10:39:40 +0000 |
commit | 7366110654eec46f21b6824f302356426f48cd74 (patch) | |
tree | f2ff1845183f6117a692bb0c705475c8c13556d5 /chromium/v8/src/compiler/instruction-selector.cc | |
parent | b92421879c003a0857b2074f7e05b3bbbb326569 (diff) | |
download | qtwebengine-chromium-7366110654eec46f21b6824f302356426f48cd74.tar.gz |
BASELINE: Update Chromium to 51.0.2704.106
Also add a few extra files we might need for future features.
Change-Id: I517c35e43221c610976d347c966d070ad44d4c2b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'chromium/v8/src/compiler/instruction-selector.cc')
-rw-r--r-- | chromium/v8/src/compiler/instruction-selector.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/v8/src/compiler/instruction-selector.cc b/chromium/v8/src/compiler/instruction-selector.cc index d172ed18588..b7162fe5dcc 100644 --- a/chromium/v8/src/compiler/instruction-selector.cc +++ b/chromium/v8/src/compiler/instruction-selector.cc @@ -714,6 +714,12 @@ void InstructionSelector::VisitBlock(BasicBlock* block) { SetEffectLevel(node, effect_level); } + // We visit the control first, then the nodes in the block, so the block's + // control input should be on the same effect level as the last node. + if (block->control_input() != nullptr) { + SetEffectLevel(block->control_input(), effect_level); + } + // Generate code for the block control "top down", but schedule the code // "bottom up". VisitControl(block); |