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

Side by Side Diff: src/compiler/js-create-lowering.h

Issue 2821273002: [turbofan] Inline Array constructor calls with multiple parameters. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | src/compiler/js-create-lowering.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CREATE_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_CREATE_LOWERING_H_
6 #define V8_COMPILER_JS_CREATE_LOWERING_H_ 6 #define V8_COMPILER_JS_CREATE_LOWERING_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 Reduction ReduceJSCreateArray(Node* node); 52 Reduction ReduceJSCreateArray(Node* node);
53 Reduction ReduceJSCreateIterResultObject(Node* node); 53 Reduction ReduceJSCreateIterResultObject(Node* node);
54 Reduction ReduceJSCreateKeyValueArray(Node* node); 54 Reduction ReduceJSCreateKeyValueArray(Node* node);
55 Reduction ReduceJSCreateLiteral(Node* node); 55 Reduction ReduceJSCreateLiteral(Node* node);
56 Reduction ReduceJSCreateFunctionContext(Node* node); 56 Reduction ReduceJSCreateFunctionContext(Node* node);
57 Reduction ReduceJSCreateWithContext(Node* node); 57 Reduction ReduceJSCreateWithContext(Node* node);
58 Reduction ReduceJSCreateCatchContext(Node* node); 58 Reduction ReduceJSCreateCatchContext(Node* node);
59 Reduction ReduceJSCreateBlockContext(Node* node); 59 Reduction ReduceJSCreateBlockContext(Node* node);
60 Reduction ReduceNewArray(Node* node, Node* length, int capacity, 60 Reduction ReduceNewArray(Node* node, Node* length, int capacity,
61 Handle<AllocationSite> site); 61 Handle<AllocationSite> site);
62 Reduction ReduceNewArray(Node* node, std::vector<Node*> values,
63 Handle<AllocationSite> site);
62 64
63 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); 65 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state);
64 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state, 66 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state,
65 int start_index); 67 int start_index);
66 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, 68 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state,
67 Node* context, Handle<SharedFunctionInfo>, 69 Node* context, Handle<SharedFunctionInfo>,
68 bool* has_aliased_arguments); 70 bool* has_aliased_arguments);
69 Node* AllocateElements(Node* effect, Node* control, 71 Node* AllocateElements(Node* effect, Node* control,
70 ElementsKind elements_kind, int capacity, 72 ElementsKind elements_kind, int capacity,
71 PretenureFlag pretenure); 73 PretenureFlag pretenure);
74 Node* AllocateElements(Node* effect, Node* control,
75 ElementsKind elements_kind,
76 std::vector<Node*> const& values,
77 PretenureFlag pretenure);
72 Node* AllocateFastLiteral(Node* effect, Node* control, 78 Node* AllocateFastLiteral(Node* effect, Node* control,
73 Handle<JSObject> boilerplate, 79 Handle<JSObject> boilerplate,
74 AllocationSiteUsageContext* site_context); 80 AllocationSiteUsageContext* site_context);
75 Node* AllocateFastLiteralElements(Node* effect, Node* control, 81 Node* AllocateFastLiteralElements(Node* effect, Node* control,
76 Handle<JSObject> boilerplate, 82 Handle<JSObject> boilerplate,
77 PretenureFlag pretenure, 83 PretenureFlag pretenure,
78 AllocationSiteUsageContext* site_context); 84 AllocationSiteUsageContext* site_context);
79 85
80 Reduction ReduceNewArrayToStubCall(Node* node, Handle<AllocationSite> site); 86 Reduction ReduceNewArrayToStubCall(Node* node, Handle<AllocationSite> site);
81 87
(...skipping 17 matching lines...) Expand all
99 MaybeHandle<FeedbackVector> const feedback_vector_; 105 MaybeHandle<FeedbackVector> const feedback_vector_;
100 Handle<Context> const native_context_; 106 Handle<Context> const native_context_;
101 Zone* const zone_; 107 Zone* const zone_;
102 }; 108 };
103 109
104 } // namespace compiler 110 } // namespace compiler
105 } // namespace internal 111 } // namespace internal
106 } // namespace v8 112 } // namespace v8
107 113
108 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ 114 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-create-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698