Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index e8124c02db4d545fdeb642c9ca25485a08951cf9..3ef93ad09ff255c6823be7fcb1e588d8ef2c8447 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -112,6 +112,7 @@ namespace internal { |
V(Add) \ |
V(Subtract) \ |
V(Multiply) \ |
+ V(Divide) \ |
V(BitwiseAnd) \ |
V(BitwiseOr) \ |
V(BitwiseXor) \ |
@@ -695,6 +696,14 @@ class MultiplyStub final : public TurboFanCodeStub { |
DEFINE_TURBOFAN_CODE_STUB(Multiply, TurboFanCodeStub); |
}; |
+class DivideStub final : public TurboFanCodeStub { |
+ public: |
+ explicit DivideStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
+ DEFINE_TURBOFAN_CODE_STUB(Divide, TurboFanCodeStub); |
+}; |
+ |
class BitwiseAndStub final : public TurboFanCodeStub { |
public: |
explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |