OLD | NEW |
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs, | 107 Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs, |
108 bool incomplete); | 108 bool incomplete); |
109 | 109 |
110 Node** EnsureInputBufferSize(int size); | 110 Node** EnsureInputBufferSize(int size); |
111 | 111 |
112 Node* ProcessCallArguments(const Operator* call_op, Node* callee, | 112 Node* ProcessCallArguments(const Operator* call_op, Node* callee, |
113 interpreter::Register receiver, size_t arity); | 113 interpreter::Register receiver, size_t arity); |
114 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, | 114 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, |
115 Node* new_target, | 115 Node* new_target, |
116 interpreter::Register first_arg, size_t arity); | 116 interpreter::Register first_arg, size_t arity); |
| 117 Node* ProcessCallNewWithSpreadArguments(const Operator* op, Node* callee, |
| 118 Node* new_target, |
| 119 interpreter::Register first_arg, |
| 120 size_t arity); |
117 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, | 121 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, |
118 interpreter::Register first_arg, | 122 interpreter::Register first_arg, |
119 size_t arity); | 123 size_t arity); |
120 | 124 |
121 // Prepare information for eager deoptimization. This information is carried | 125 // Prepare information for eager deoptimization. This information is carried |
122 // by dedicated {Checkpoint} nodes that are wired into the effect chain. | 126 // by dedicated {Checkpoint} nodes that are wired into the effect chain. |
123 // Conceptually this frame state is "before" a given operation. | 127 // Conceptually this frame state is "before" a given operation. |
124 void PrepareEagerCheckpoint(); | 128 void PrepareEagerCheckpoint(); |
125 | 129 |
126 // Prepare information for lazy deoptimization. This information is attached | 130 // Prepare information for lazy deoptimization. This information is attached |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 static int const kBinaryOperationSmiHintIndex = 2; | 317 static int const kBinaryOperationSmiHintIndex = 2; |
314 | 318 |
315 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 319 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
316 }; | 320 }; |
317 | 321 |
318 } // namespace compiler | 322 } // namespace compiler |
319 } // namespace internal | 323 } // namespace internal |
320 } // namespace v8 | 324 } // namespace v8 |
321 | 325 |
322 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 326 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |