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

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

Issue 2663963003: [Ignition] Rename New and NewWithSpread bytecodes. (Closed)
Patch Set: Update comments Created 3 years, 10 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/bytecode-graph-builder.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 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // The main node creation chokepoint. Adds context, frame state, effect, 105 // The main node creation chokepoint. Adds context, frame state, effect,
106 // and control dependencies depending on the operator. 106 // and control dependencies depending on the operator.
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* ProcessConstructArguments(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,
117 Node* ProcessCallNewWithSpreadArguments(const Operator* op, Node* callee, 117 size_t arity);
118 Node* new_target, 118 Node* ProcessConstructWithSpreadArguments(const Operator* op, Node* callee,
119 interpreter::Register first_arg, 119 Node* new_target,
120 size_t arity); 120 interpreter::Register first_arg,
121 size_t arity);
121 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, 122 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
122 interpreter::Register first_arg, 123 interpreter::Register first_arg,
123 size_t arity); 124 size_t arity);
124 125
125 // Prepare information for eager deoptimization. This information is carried 126 // Prepare information for eager deoptimization. This information is carried
126 // by dedicated {Checkpoint} nodes that are wired into the effect chain. 127 // by dedicated {Checkpoint} nodes that are wired into the effect chain.
127 // Conceptually this frame state is "before" a given operation. 128 // Conceptually this frame state is "before" a given operation.
128 void PrepareEagerCheckpoint(); 129 void PrepareEagerCheckpoint();
129 130
130 // Prepare information for lazy deoptimization. This information is attached 131 // Prepare information for lazy deoptimization. This information is attached
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 static int const kBinaryOperationSmiHintIndex = 2; 312 static int const kBinaryOperationSmiHintIndex = 2;
312 313
313 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 314 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
314 }; 315 };
315 316
316 } // namespace compiler 317 } // namespace compiler
317 } // namespace internal 318 } // namespace internal
318 } // namespace v8 319 } // namespace v8
319 320
320 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 321 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698