Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(956)

Side by Side Diff: src/code-stubs.h

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698