Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 1b64f25689d3c8d1d220bf38d1bbc5105ac9f79f..fb52b2da46da964b82085353e24e573ffb31926f 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1304,6 +1304,10 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
return code_object_; |
} |
+ // Emit code for a flooring division by a constant. The dividend register is |
+ // unchanged and ip gets clobbered. Dividend and result must be different. |
Paul Lind
2014/03/10 19:45:56
nit: reg name should be at
|
+ void FlooringDiv(Register result, Register dividend, int32_t divisor); |
+ |
// ------------------------------------------------------------------------- |
// StatsCounter support. |