Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index fe2baa5bb8adffb20480887d94f356634ee9f368..dd07ed1600fe8194df987e2d6f779e998d710f10 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -2443,8 +2443,9 @@ void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) { |
// We can statically evaluate the comparison. |
double left_val = ToDouble(LConstantOperand::cast(left)); |
double right_val = ToDouble(LConstantOperand::cast(right)); |
- int next_block = EvalComparison(instr->op(), left_val, right_val) ? |
- instr->TrueDestination(chunk_) : instr->FalseDestination(chunk_); |
+ int next_block = Token::EvalComparison(instr->op(), left_val, right_val) |
+ ? instr->TrueDestination(chunk_) |
+ : instr->FalseDestination(chunk_); |
EmitGoto(next_block); |
} else { |
if (instr->is_double()) { |