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

Side by Side Diff: src/compiler/js-operator.h

Issue 2949813002: [turbofan] Introduce new JSConstructWithArrayLike operator. (Closed)
Patch Set: Address feedback. Created 3 years, 6 months 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/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/handles.h" 10 #include "src/handles.h"
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 const Operator* CallWithArrayLike(CallFrequency frequency); 736 const Operator* CallWithArrayLike(CallFrequency frequency);
737 const Operator* CallWithSpread(uint32_t arity); 737 const Operator* CallWithSpread(uint32_t arity);
738 const Operator* CallRuntime(Runtime::FunctionId id); 738 const Operator* CallRuntime(Runtime::FunctionId id);
739 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity); 739 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity);
740 const Operator* CallRuntime(const Runtime::Function* function, size_t arity); 740 const Operator* CallRuntime(const Runtime::Function* function, size_t arity);
741 741
742 const Operator* ConstructForwardVarargs(size_t arity, uint32_t start_index); 742 const Operator* ConstructForwardVarargs(size_t arity, uint32_t start_index);
743 const Operator* Construct(uint32_t arity, 743 const Operator* Construct(uint32_t arity,
744 CallFrequency frequency = CallFrequency(), 744 CallFrequency frequency = CallFrequency(),
745 VectorSlotPair const& feedback = VectorSlotPair()); 745 VectorSlotPair const& feedback = VectorSlotPair());
746 const Operator* ConstructWithArrayLike(CallFrequency frequency);
746 const Operator* ConstructWithSpread(uint32_t arity); 747 const Operator* ConstructWithSpread(uint32_t arity);
747 748
748 const Operator* ConvertReceiver(ConvertReceiverMode convert_mode); 749 const Operator* ConvertReceiver(ConvertReceiverMode convert_mode);
749 750
750 const Operator* LoadProperty(VectorSlotPair const& feedback); 751 const Operator* LoadProperty(VectorSlotPair const& feedback);
751 const Operator* LoadNamed(Handle<Name> name, VectorSlotPair const& feedback); 752 const Operator* LoadNamed(Handle<Name> name, VectorSlotPair const& feedback);
752 753
753 const Operator* StoreProperty(LanguageMode language_mode, 754 const Operator* StoreProperty(LanguageMode language_mode,
754 VectorSlotPair const& feedback); 755 VectorSlotPair const& feedback);
755 const Operator* StoreNamed(LanguageMode language_mode, Handle<Name> name, 756 const Operator* StoreNamed(LanguageMode language_mode, Handle<Name> name,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 Zone* const zone_; 822 Zone* const zone_;
822 823
823 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 824 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
824 }; 825 };
825 826
826 } // namespace compiler 827 } // namespace compiler
827 } // namespace internal 828 } // namespace internal
828 } // namespace v8 829 } // namespace v8
829 830
830 #endif // V8_COMPILER_JS_OPERATOR_H_ 831 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698