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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); | 796 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); |
797 DEFINE_TURBOFAN_CODE_STUB(NumberToString, TurboFanCodeStub); | 797 DEFINE_TURBOFAN_CODE_STUB(NumberToString, TurboFanCodeStub); |
798 }; | 798 }; |
799 | 799 |
800 class FastNewClosureStub : public TurboFanCodeStub { | 800 class FastNewClosureStub : public TurboFanCodeStub { |
801 public: | 801 public: |
802 explicit FastNewClosureStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 802 explicit FastNewClosureStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
803 | 803 |
804 static compiler::Node* Generate(CodeStubAssembler* assembler, | 804 static compiler::Node* Generate(CodeStubAssembler* assembler, |
805 compiler::Node* shared_info, | 805 compiler::Node* shared_info, |
| 806 compiler::Node* feedback_vector, |
| 807 compiler::Node* slot, |
806 compiler::Node* context); | 808 compiler::Node* context); |
807 | 809 |
808 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); | 810 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); |
809 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); | 811 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); |
810 }; | 812 }; |
811 | 813 |
812 class FastNewFunctionContextStub final : public TurboFanCodeStub { | 814 class FastNewFunctionContextStub final : public TurboFanCodeStub { |
813 public: | 815 public: |
814 static int MaximumSlots(); | 816 static int MaximumSlots(); |
815 | 817 |
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2657 #undef DEFINE_PLATFORM_CODE_STUB | 2659 #undef DEFINE_PLATFORM_CODE_STUB |
2658 #undef DEFINE_HANDLER_CODE_STUB | 2660 #undef DEFINE_HANDLER_CODE_STUB |
2659 #undef DEFINE_HYDROGEN_CODE_STUB | 2661 #undef DEFINE_HYDROGEN_CODE_STUB |
2660 #undef DEFINE_CODE_STUB | 2662 #undef DEFINE_CODE_STUB |
2661 #undef DEFINE_CODE_STUB_BASE | 2663 #undef DEFINE_CODE_STUB_BASE |
2662 | 2664 |
2663 } // namespace internal | 2665 } // namespace internal |
2664 } // namespace v8 | 2666 } // namespace v8 |
2665 | 2667 |
2666 #endif // V8_CODE_STUBS_H_ | 2668 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |