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