Index: runtime/vm/intrinsifier_mips.cc |
diff --git a/runtime/vm/intrinsifier_mips.cc b/runtime/vm/intrinsifier_mips.cc |
index 57cb4d6fcca0e90e68e0dcceea55c0e223860911..ddd9c522ec28951cf38729c437310eca73565dc9 100644 |
--- a/runtime/vm/intrinsifier_mips.cc |
+++ b/runtime/vm/intrinsifier_mips.cc |
@@ -1538,7 +1538,7 @@ void Intrinsifier::DoubleToInteger(Assembler* assembler) { |
__ lw(T0, Address(SP, 0 * kWordSize)); |
__ LoadDFromOffset(D0, T0, Double::value_offset() - kHeapObjectTag); |
- __ cvtwd(F2, D0); |
+ __ truncwd(F2, D0); |
__ mfc1(V0, F2); |
// Overflow is signaled with minint. |