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

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
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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/code-stubs.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698