| 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(AllocateInt16x8) \ | 105 V(AllocateInt16x8) \ |
| 106 V(AllocateUint16x8) \ | 106 V(AllocateUint16x8) \ |
| 107 V(AllocateBool16x8) \ | 107 V(AllocateBool16x8) \ |
| 108 V(AllocateInt8x16) \ | 108 V(AllocateInt8x16) \ |
| 109 V(AllocateUint8x16) \ | 109 V(AllocateUint8x16) \ |
| 110 V(AllocateBool8x16) \ | 110 V(AllocateBool8x16) \ |
| 111 V(StringLength) \ | 111 V(StringLength) \ |
| 112 V(Add) \ | 112 V(Add) \ |
| 113 V(Subtract) \ | 113 V(Subtract) \ |
| 114 V(Multiply) \ | 114 V(Multiply) \ |
| 115 V(Divide) \ |
| 115 V(BitwiseAnd) \ | 116 V(BitwiseAnd) \ |
| 116 V(BitwiseOr) \ | 117 V(BitwiseOr) \ |
| 117 V(BitwiseXor) \ | 118 V(BitwiseXor) \ |
| 118 V(FastCloneShallowObject) \ | 119 V(FastCloneShallowObject) \ |
| 119 V(LessThan) \ | 120 V(LessThan) \ |
| 120 V(LessThanOrEqual) \ | 121 V(LessThanOrEqual) \ |
| 121 V(GreaterThan) \ | 122 V(GreaterThan) \ |
| 122 V(GreaterThanOrEqual) \ | 123 V(GreaterThanOrEqual) \ |
| 123 V(Equal) \ | 124 V(Equal) \ |
| 124 V(NotEqual) \ | 125 V(NotEqual) \ |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 }; | 689 }; |
| 689 | 690 |
| 690 class MultiplyStub final : public TurboFanCodeStub { | 691 class MultiplyStub final : public TurboFanCodeStub { |
| 691 public: | 692 public: |
| 692 explicit MultiplyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 693 explicit MultiplyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 693 | 694 |
| 694 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 695 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 695 DEFINE_TURBOFAN_CODE_STUB(Multiply, TurboFanCodeStub); | 696 DEFINE_TURBOFAN_CODE_STUB(Multiply, TurboFanCodeStub); |
| 696 }; | 697 }; |
| 697 | 698 |
| 699 class DivideStub final : public TurboFanCodeStub { |
| 700 public: |
| 701 explicit DivideStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 702 |
| 703 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 704 DEFINE_TURBOFAN_CODE_STUB(Divide, TurboFanCodeStub); |
| 705 }; |
| 706 |
| 698 class BitwiseAndStub final : public TurboFanCodeStub { | 707 class BitwiseAndStub final : public TurboFanCodeStub { |
| 699 public: | 708 public: |
| 700 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 709 explicit BitwiseAndStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 701 | 710 |
| 702 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); | 711 DEFINE_CALL_INTERFACE_DESCRIPTOR(BinaryOp); |
| 703 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); | 712 DEFINE_TURBOFAN_CODE_STUB(BitwiseAnd, TurboFanCodeStub); |
| 704 }; | 713 }; |
| 705 | 714 |
| 706 class BitwiseOrStub final : public TurboFanCodeStub { | 715 class BitwiseOrStub final : public TurboFanCodeStub { |
| 707 public: | 716 public: |
| (...skipping 2390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3098 #undef DEFINE_HYDROGEN_CODE_STUB | 3107 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3099 #undef DEFINE_CODE_STUB | 3108 #undef DEFINE_CODE_STUB |
| 3100 #undef DEFINE_CODE_STUB_BASE | 3109 #undef DEFINE_CODE_STUB_BASE |
| 3101 | 3110 |
| 3102 extern Representation RepresentationFromType(Type* type); | 3111 extern Representation RepresentationFromType(Type* type); |
| 3103 | 3112 |
| 3104 } // namespace internal | 3113 } // namespace internal |
| 3105 } // namespace v8 | 3114 } // namespace v8 |
| 3106 | 3115 |
| 3107 #endif // V8_CODE_STUBS_H_ | 3116 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |