Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index ae65d169695f007b3e4244dc7c828f6bdbed594e..26b6bd35df8ed83fcf986408de3a8cf0057de532 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1027,7 +1027,8 @@ void SimplifiedLowering::DoLoadElement(Node* node, MachineType output_type) { |
Node* control = node->InputAt(4); |
Node* check = graph()->NewNode(machine()->Uint32LessThan(), key, length); |
- Node* branch = graph()->NewNode(common()->Branch(), check, control); |
+ Node* branch = |
+ graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); |
Node* if_true = graph()->NewNode(common()->IfTrue(), branch); |
Node* load = graph()->NewNode(op, base, index, effect, if_true); |
@@ -1098,7 +1099,8 @@ void SimplifiedLowering::DoStoreElement(Node* node) { |
Node* control = node->InputAt(5); |
Node* check = graph()->NewNode(machine()->Uint32LessThan(), key, length); |
- Node* branch = graph()->NewNode(common()->Branch(), check, control); |
+ Node* branch = |
+ graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control); |
Node* if_true = graph()->NewNode(common()->IfTrue(), branch); |
Node* store = graph()->NewNode(op, base, index, value, effect, if_true); |