| 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, | |
| 808 compiler::Node* context); | 806 compiler::Node* context); |
| 809 | 807 |
| 810 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); | 808 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); |
| 811 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); | 809 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); |
| 812 }; | 810 }; |
| 813 | 811 |
| 814 class FastNewFunctionContextStub final : public TurboFanCodeStub { | 812 class FastNewFunctionContextStub final : public TurboFanCodeStub { |
| 815 public: | 813 public: |
| 816 static int MaximumSlots(); | 814 static int MaximumSlots(); |
| 817 | 815 |
| (...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2659 #undef DEFINE_PLATFORM_CODE_STUB | 2657 #undef DEFINE_PLATFORM_CODE_STUB |
| 2660 #undef DEFINE_HANDLER_CODE_STUB | 2658 #undef DEFINE_HANDLER_CODE_STUB |
| 2661 #undef DEFINE_HYDROGEN_CODE_STUB | 2659 #undef DEFINE_HYDROGEN_CODE_STUB |
| 2662 #undef DEFINE_CODE_STUB | 2660 #undef DEFINE_CODE_STUB |
| 2663 #undef DEFINE_CODE_STUB_BASE | 2661 #undef DEFINE_CODE_STUB_BASE |
| 2664 | 2662 |
| 2665 } // namespace internal | 2663 } // namespace internal |
| 2666 } // namespace v8 | 2664 } // namespace v8 |
| 2667 | 2665 |
| 2668 #endif // V8_CODE_STUBS_H_ | 2666 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |