Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index e70b47f40826a41b8532b02d557052760f84ae31..2f465ffa8174fe241fe8f61327344827dc09f680 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -114,6 +114,7 @@ namespace internal { |
V(Subtract) \ |
V(Multiply) \ |
V(Divide) \ |
+ V(Modulus) \ |
V(BitwiseAnd) \ |
V(BitwiseOr) \ |
V(BitwiseXor) \ |
@@ -704,6 +705,14 @@ class DivideStub final : public TurboFanCodeStub { |
DEFINE_TURBOFAN_CODE_STUB(Divide, TurboFanCodeStub); |
}; |
+class ModulusStub final : public TurboFanCodeStub { |
+ public: |
+ explicit ModulusStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
+ DEFINE_TURBOFAN_CODE_STUB(Modulus, TurboFanCodeStub); |
+}; |
+ |
class BitwiseAndStub final : public TurboFanCodeStub { |
public: |
explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |