Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index e6155aa149995dbf4ced457929184ec0c09f2ecb..e345352747c9c3b06385aee0549309a8a1bb0d68 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -637,18 +637,18 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ MovFromFloatResult(i.OutputDoubleRegister()); |
break; |
} |
- case kMips64Float64Floor: { |
+ case kMips64Float64RoundDown: { |
ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(floor_l_d, Floor); |
break; |
} |
- case kMips64Float64Ceil: { |
- ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(ceil_l_d, Ceil); |
- break; |
- } |
case kMips64Float64RoundTruncate: { |
ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(trunc_l_d, Truncate); |
break; |
} |
+ case kMips64Float64RoundUp: { |
+ ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(ceil_l_d, Ceil); |
+ break; |
+ } |
case kMips64SqrtD: { |
__ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |