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

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

Issue 1557883002: Optimized TurboFan support for rest args. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments, unit tests. Created 4 years, 11 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/code-factory.cc ('k') | src/compiler/js-typed-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 Reduction ReduceSelect(Node* node); 88 Reduction ReduceSelect(Node* node);
89 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); 89 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp);
90 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); 90 Reduction ReduceInt32Binop(Node* node, const Operator* intOp);
91 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, 91 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness,
92 const Operator* shift_op); 92 const Operator* shift_op);
93 Reduction ReduceNewArray(Node* node, Node* length, int capacity, 93 Reduction ReduceNewArray(Node* node, Node* length, int capacity,
94 Handle<AllocationSite> site); 94 Handle<AllocationSite> site);
95 95
96 Node* Word32Shl(Node* const lhs, int32_t const rhs); 96 Node* Word32Shl(Node* const lhs, int32_t const rhs);
97 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); 97 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state);
98 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state,
99 int start_index);
98 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, 100 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state,
99 Node* context, Handle<SharedFunctionInfo>, 101 Node* context, Handle<SharedFunctionInfo>,
100 bool* has_aliased_arguments); 102 bool* has_aliased_arguments);
101 Node* AllocateElements(Node* effect, Node* control, 103 Node* AllocateElements(Node* effect, Node* control,
102 ElementsKind elements_kind, int capacity, 104 ElementsKind elements_kind, int capacity,
103 PretenureFlag pretenure); 105 PretenureFlag pretenure);
104 106
105 Factory* factory() const; 107 Factory* factory() const;
106 Graph* graph() const; 108 Graph* graph() const;
107 JSGraph* jsgraph() const { return jsgraph_; } 109 JSGraph* jsgraph() const { return jsgraph_; }
(...skipping 19 matching lines...) Expand all
127 TypeCache const& type_cache_; 129 TypeCache const& type_cache_;
128 }; 130 };
129 131
130 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 132 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
131 133
132 } // namespace compiler 134 } // namespace compiler
133 } // namespace internal 135 } // namespace internal
134 } // namespace v8 136 } // namespace v8
135 137
136 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 138 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698