Index: src/mips/lithium-codegen-mips.h |
diff --git a/src/mips/lithium-codegen-mips.h b/src/mips/lithium-codegen-mips.h |
index a8d7e0436fcfe384ca6919b230bd2c1bd6ba82d5..1c99cf99f1b685ae6d191c244bce18c46da9287f 100644 |
--- a/src/mips/lithium-codegen-mips.h |
+++ b/src/mips/lithium-codegen-mips.h |
@@ -384,6 +384,17 @@ class LCodeGen BASE_EMBEDDED { |
Register source, |
int* offset, |
AllocationSiteMode mode); |
+ // Emit optimized code for integer division. |
+ // Inputs are signed. |
+ // All registers are clobbered. |
+ // If 'remainder' is no_reg, it is not computed. |
+ void EmitSignedIntegerDivisionByConstant(Register result, |
+ Register dividend, |
+ int32_t divisor, |
+ Register remainder, |
+ Register scratch, |
+ LEnvironment* environment); |
+ |
void EnsureSpaceForLazyDeopt(); |
void DoLoadKeyedExternalArray(LLoadKeyed* instr); |