From daa093eea7c773db06799a13bd7e4e2e2a9f8f14 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 20 Nov 2017 15:06:40 +0100 Subject: BASELINE: Update Chromium to 63.0.3239.58 Change-Id: Ia93b322a00ba4dd4004f3bcf1254063ba90e1605 Reviewed-by: Alexandru Croitor --- chromium/v8/src/compiler/loop-variable-optimizer.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chromium/v8/src/compiler/loop-variable-optimizer.cc') diff --git a/chromium/v8/src/compiler/loop-variable-optimizer.cc b/chromium/v8/src/compiler/loop-variable-optimizer.cc index 07e026eb738..d50237ad6e6 100644 --- a/chromium/v8/src/compiler/loop-variable-optimizer.cc +++ b/chromium/v8/src/compiler/loop-variable-optimizer.cc @@ -129,7 +129,7 @@ class LoopVariableOptimizer::VariableLimits : public ZoneObject { // Then we go through both lists in lock-step until we find // the common tail. while (head_ != other_limit) { - DCHECK(limit_count_ > 0); + DCHECK_LT(0, limit_count_); limit_count_--; other_limit = other_limit->next(); head_ = head_->next(); @@ -310,7 +310,8 @@ InductionVariable* LoopVariableOptimizer::TryGetInductionVariable(Node* phi) { arith->opcode() == IrOpcode::kSpeculativeSafeIntegerAdd) { arithmeticType = InductionVariable::ArithmeticType::kAddition; } else if (arith->opcode() == IrOpcode::kJSSubtract || - arith->opcode() == IrOpcode::kSpeculativeNumberSubtract) { + arith->opcode() == IrOpcode::kSpeculativeNumberSubtract || + arith->opcode() == IrOpcode::kSpeculativeSafeIntegerSubtract) { arithmeticType = InductionVariable::ArithmeticType::kSubtraction; } else { return nullptr; -- cgit v1.2.1