Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index ada31842953b342b2f6a197ba950b917407d3d5e..46f3a9077e8c9ee4f1278336fc1b5fb0e8aa273e 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -753,14 +753,16 @@ class MacroAssembler: public Assembler { |
FPURegister double_scratch, |
Label *not_int32); |
- // Truncates a double using a specific rounding mode. |
+ // Truncates a double using a specific rounding mode, and writes the value |
+ // to the result register. |
// The except_flag will contain any exceptions caused by the instruction. |
- // If check_inexact is kDontCheckForInexactConversion, then the inexacat |
+ // If check_inexact is kDontCheckForInexactConversion, then the inexact |
// exception is masked. |
void EmitFPUTruncate(FPURoundingMode rounding_mode, |
- FPURegister result, |
+ Register result, |
DoubleRegister double_input, |
- Register scratch1, |
+ Register scratch, |
+ DoubleRegister double_scratch, |
Register except_flag, |
CheckForInexactConversion check_inexact |
= kDontCheckForInexactConversion); |