Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 4ec33ab1467c3bf80a1c5a2804c20c10669ce5bb..a54968a7510189f2fb0b841c46635f5b8af13e3a 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -2167,8 +2167,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()) { |