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

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

Issue 2597163002: Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: 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,
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
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_
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