| Index: src/crankshaft/x64/lithium-codegen-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| index 3f7e9ba825c82e1ad4dc29afa89b38723f59f54f..feb071d848583b55a576c8383017eddfa1327bfd 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -2208,8 +2208,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()) {
|
|
|