Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 6b0573ca6eb443cbe4b47d35a71efffa90954793..dafa65d203e9f2f4d913e3bde423c5996b9dc3d7 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -855,6 +855,10 @@ class MacroAssembler: public Assembler { |
// Insert code to verify that the x87 stack has the specified depth (0-7) |
void VerifyX87StackDepth(uint32_t depth); |
+ // Emit code for a flooring division by a constant. The dividend register is |
+ // unchanged, the result is in edx, and eax gets clobbered. |
+ void FlooringDiv(Register dividend, int32_t divisor); |
+ |
// --------------------------------------------------------------------------- |
// StatsCounter support |