Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 66d409abbf006e560ee38a114decb1fa62e0e0ce..54602be6ec885d723258f1b15fec1709073eb762 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -113,6 +113,9 @@ namespace internal { |
V(StringLength) \ |
V(Add) \ |
V(Subtract) \ |
+ V(BitwiseAnd) \ |
+ V(BitwiseOr) \ |
+ V(BitwiseXor) \ |
V(LessThan) \ |
V(LessThanOrEqual) \ |
V(GreaterThan) \ |
@@ -685,6 +688,30 @@ class SubtractStub final : public TurboFanCodeStub { |
DEFINE_TURBOFAN_CODE_STUB(Subtract, TurboFanCodeStub); |
}; |
+class BitwiseAndStub final : public TurboFanCodeStub { |
+ public: |
+ explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
+ DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); |
+}; |
+ |
+class BitwiseOrStub final : public TurboFanCodeStub { |
+ public: |
+ explicit BitwiseOrStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
+ DEFINE_TURBOFAN_CODE_STUB(BitwiseOr, TurboFanCodeStub); |
+}; |
+ |
+class BitwiseXorStub final : public TurboFanCodeStub { |
+ public: |
+ explicit BitwiseXorStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
+ DEFINE_TURBOFAN_CODE_STUB(BitwiseXor, TurboFanCodeStub); |
+}; |
+ |
class LessThanStub final : public TurboFanCodeStub { |
public: |
explicit LessThanStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |