| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(Multiply) \ |
| 116 V(Divide) \ | 116 V(Divide) \ |
| 117 V(Modulus) \ |
| 117 V(BitwiseAnd) \ | 118 V(BitwiseAnd) \ |
| 118 V(BitwiseOr) \ | 119 V(BitwiseOr) \ |
| 119 V(BitwiseXor) \ | 120 V(BitwiseXor) \ |
| 120 V(LessThan) \ | 121 V(LessThan) \ |
| 121 V(LessThanOrEqual) \ | 122 V(LessThanOrEqual) \ |
| 122 V(GreaterThan) \ | 123 V(GreaterThan) \ |
| 123 V(GreaterThanOrEqual) \ | 124 V(GreaterThanOrEqual) \ |
| 124 V(Equal) \ | 125 V(Equal) \ |
| 125 V(NotEqual) \ | 126 V(NotEqual) \ |
| 126 V(StrictEqual) \ | 127 V(StrictEqual) \ |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 }; | 698 }; |
| 698 | 699 |
| 699 class DivideStub final : public TurboFanCodeStub { | 700 class DivideStub final : public TurboFanCodeStub { |
| 700 public: | 701 public: |
| 701 explicit DivideStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 702 explicit DivideStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 702 | 703 |
| 703 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 704 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 704 DEFINE_TURBOFAN_CODE_STUB(Divide, TurboFanCodeStub); | 705 DEFINE_TURBOFAN_CODE_STUB(Divide, TurboFanCodeStub); |
| 705 }; | 706 }; |
| 706 | 707 |
| 708 class ModulusStub final : public TurboFanCodeStub { |
| 709 public: |
| 710 explicit ModulusStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 711 |
| 712 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 713 DEFINE_TURBOFAN_CODE_STUB(Modulus, TurboFanCodeStub); |
| 714 }; |
| 715 |
| 707 class BitwiseAndStub final : public TurboFanCodeStub { | 716 class BitwiseAndStub final : public TurboFanCodeStub { |
| 708 public: | 717 public: |
| 709 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 718 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 710 | 719 |
| 711 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 720 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 712 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); | 721 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); |
| 713 }; | 722 }; |
| 714 | 723 |
| 715 class BitwiseOrStub final : public TurboFanCodeStub { | 724 class BitwiseOrStub final : public TurboFanCodeStub { |
| 716 public: | 725 public: |
| (...skipping 2391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3108 #undef DEFINE_HYDROGEN_CODE_STUB | 3117 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3109 #undef DEFINE_CODE_STUB | 3118 #undef DEFINE_CODE_STUB |
| 3110 #undef DEFINE_CODE_STUB_BASE | 3119 #undef DEFINE_CODE_STUB_BASE |
| 3111 | 3120 |
| 3112 extern Representation RepresentationFromType(Type* type); | 3121 extern Representation RepresentationFromType(Type* type); |
| 3113 | 3122 |
| 3114 } // namespace internal | 3123 } // namespace internal |
| 3115 } // namespace v8 | 3124 } // namespace v8 |
| 3116 | 3125 |
| 3117 #endif // V8_CODE_STUBS_H_ | 3126 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |