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

Side by Side Diff: src/compiler/bytecode-graph-builder.h

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: Rebase on master 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler/bytecode-analysis.h" 8 #include "src/compiler/bytecode-analysis.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // The main node creation chokepoint. Adds context, frame state, effect, 112 // The main node creation chokepoint. Adds context, frame state, effect,
113 // and control dependencies depending on the operator. 113 // and control dependencies depending on the operator.
114 Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs, 114 Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs,
115 bool incomplete); 115 bool incomplete);
116 116
117 Node** EnsureInputBufferSize(int size); 117 Node** EnsureInputBufferSize(int size);
118 118
119 Node* ProcessCallArguments(const Operator* call_op, Node* callee, 119 Node* ProcessCallArguments(const Operator* call_op, Node* callee,
120 interpreter::Register receiver, size_t arity); 120 interpreter::Register receiver, size_t arity);
121 Node* ProcessCallNewWithSpreadArguments(const Operator* op,
122 interpreter::Register first_arg,
123 size_t arity);
121 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, 124 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee,
122 Node* new_target, 125 Node* new_target,
123 interpreter::Register first_arg, size_t arity); 126 interpreter::Register first_arg, size_t arity);
124 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, 127 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
125 interpreter::Register first_arg, 128 interpreter::Register first_arg,
126 size_t arity); 129 size_t arity);
127 130
128 // Prepare information for eager deoptimization. This information is carried 131 // Prepare information for eager deoptimization. This information is carried
129 // by dedicated {Checkpoint} nodes that are wired into the effect chain. 132 // by dedicated {Checkpoint} nodes that are wired into the effect chain.
130 // Conceptually this frame state is "before" a given operation. 133 // Conceptually this frame state is "before" a given operation.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 static int const kBinaryOperationSmiHintIndex = 2; 323 static int const kBinaryOperationSmiHintIndex = 2;
321 324
322 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 325 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
323 }; 326 };
324 327
325 } // namespace compiler 328 } // namespace compiler
326 } // namespace internal 329 } // namespace internal
327 } // namespace v8 330 } // namespace v8
328 331
329 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 332 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698