From 7366110654eec46f21b6824f302356426f48cd74 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 1 Jul 2016 12:20:27 +0200 Subject: 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 --- chromium/v8/src/compiler/instruction-selector.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chromium/v8/src/compiler/instruction-selector.cc') 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); -- cgit v1.2.1