| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 V(AllocateBool32x4) \ | 105 V(AllocateBool32x4) \ |
| 106 V(AllocateInt16x8) \ | 106 V(AllocateInt16x8) \ |
| 107 V(AllocateUint16x8) \ | 107 V(AllocateUint16x8) \ |
| 108 V(AllocateBool16x8) \ | 108 V(AllocateBool16x8) \ |
| 109 V(AllocateInt8x16) \ | 109 V(AllocateInt8x16) \ |
| 110 V(AllocateUint8x16) \ | 110 V(AllocateUint8x16) \ |
| 111 V(AllocateBool8x16) \ | 111 V(AllocateBool8x16) \ |
| 112 V(StringLength) \ | 112 V(StringLength) \ |
| 113 V(Add) \ | 113 V(Add) \ |
| 114 V(Subtract) \ | 114 V(Subtract) \ |
| 115 V(Multiply) \ |
| 115 V(BitwiseAnd) \ | 116 V(BitwiseAnd) \ |
| 116 V(BitwiseOr) \ | 117 V(BitwiseOr) \ |
| 117 V(BitwiseXor) \ | 118 V(BitwiseXor) \ |
| 118 V(LessThan) \ | 119 V(LessThan) \ |
| 119 V(LessThanOrEqual) \ | 120 V(LessThanOrEqual) \ |
| 120 V(GreaterThan) \ | 121 V(GreaterThan) \ |
| 121 V(GreaterThanOrEqual) \ | 122 V(GreaterThanOrEqual) \ |
| 122 V(Equal) \ | 123 V(Equal) \ |
| 123 V(NotEqual) \ | 124 V(NotEqual) \ |
| 124 V(StrictEqual) \ | 125 V(StrictEqual) \ |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 }; | 683 }; |
| 683 | 684 |
| 684 class SubtractStub final : public TurboFanCodeStub { | 685 class SubtractStub final : public TurboFanCodeStub { |
| 685 public: | 686 public: |
| 686 explicit SubtractStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 687 explicit SubtractStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 687 | 688 |
| 688 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 689 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 689 DEFINE_TURBOFAN_CODE_STUB(Subtract, TurboFanCodeStub); | 690 DEFINE_TURBOFAN_CODE_STUB(Subtract, TurboFanCodeStub); |
| 690 }; | 691 }; |
| 691 | 692 |
| 693 class MultiplyStub final : public TurboFanCodeStub { |
| 694 public: |
| 695 explicit MultiplyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 696 |
| 697 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 698 DEFINE_TURBOFAN_CODE_STUB(Multiply, TurboFanCodeStub); |
| 699 }; |
| 700 |
| 692 class BitwiseAndStub final : public TurboFanCodeStub { | 701 class BitwiseAndStub final : public TurboFanCodeStub { |
| 693 public: | 702 public: |
| 694 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 703 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 695 | 704 |
| 696 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 705 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 697 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); | 706 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); |
| 698 }; | 707 }; |
| 699 | 708 |
| 700 class BitwiseOrStub final : public TurboFanCodeStub { | 709 class BitwiseOrStub final : public TurboFanCodeStub { |
| 701 public: | 710 public: |
| (...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3103 #undef DEFINE_HYDROGEN_CODE_STUB | 3112 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3104 #undef DEFINE_CODE_STUB | 3113 #undef DEFINE_CODE_STUB |
| 3105 #undef DEFINE_CODE_STUB_BASE | 3114 #undef DEFINE_CODE_STUB_BASE |
| 3106 | 3115 |
| 3107 extern Representation RepresentationFromType(Type* type); | 3116 extern Representation RepresentationFromType(Type* type); |
| 3108 | 3117 |
| 3109 } // namespace internal | 3118 } // namespace internal |
| 3110 } // namespace v8 | 3119 } // namespace v8 |
| 3111 | 3120 |
| 3112 #endif // V8_CODE_STUBS_H_ | 3121 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |