| 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); | 797 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); |
| 798 DEFINE_TURBOFAN_CODE_STUB(NumberToString, TurboFanCodeStub); | 798 DEFINE_TURBOFAN_CODE_STUB(NumberToString, TurboFanCodeStub); |
| 799 }; | 799 }; |
| 800 | 800 |
| 801 class FastNewClosureStub : public TurboFanCodeStub { | 801 class FastNewClosureStub : public TurboFanCodeStub { |
| 802 public: | 802 public: |
| 803 explicit FastNewClosureStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} | 803 explicit FastNewClosureStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| 804 | 804 |
| 805 static compiler::Node* Generate(CodeStubAssembler* assembler, | 805 static compiler::Node* Generate(CodeStubAssembler* assembler, |
| 806 compiler::Node* shared_info, | 806 compiler::Node* shared_info, |
| 807 compiler::Node* feedback_vector, |
| 808 compiler::Node* slot, |
| 807 compiler::Node* context); | 809 compiler::Node* context); |
| 808 | 810 |
| 809 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); | 811 DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewClosure); |
| 810 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); | 812 DEFINE_TURBOFAN_CODE_STUB(FastNewClosure, TurboFanCodeStub); |
| 811 }; | 813 }; |
| 812 | 814 |
| 813 class FastNewFunctionContextStub final : public TurboFanCodeStub { | 815 class FastNewFunctionContextStub final : public TurboFanCodeStub { |
| 814 public: | 816 public: |
| 815 static const int kMaximumSlots = 0x8000; | 817 static const int kMaximumSlots = 0x8000; |
| 816 | 818 |
| (...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2643 #undef DEFINE_PLATFORM_CODE_STUB | 2645 #undef DEFINE_PLATFORM_CODE_STUB |
| 2644 #undef DEFINE_HANDLER_CODE_STUB | 2646 #undef DEFINE_HANDLER_CODE_STUB |
| 2645 #undef DEFINE_HYDROGEN_CODE_STUB | 2647 #undef DEFINE_HYDROGEN_CODE_STUB |
| 2646 #undef DEFINE_CODE_STUB | 2648 #undef DEFINE_CODE_STUB |
| 2647 #undef DEFINE_CODE_STUB_BASE | 2649 #undef DEFINE_CODE_STUB_BASE |
| 2648 | 2650 |
| 2649 } // namespace internal | 2651 } // namespace internal |
| 2650 } // namespace v8 | 2652 } // namespace v8 |
| 2651 | 2653 |
| 2652 #endif // V8_CODE_STUBS_H_ | 2654 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |