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

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

Issue 1572333002: [Interpreter] Add StackCheck node to BytecodeGraphBuilder graphs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix skip 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 | « 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.h" 8 #include "src/compiler.h"
9 #include "src/compiler/bytecode-branch-analysis.h" 9 #include "src/compiler/bytecode-branch-analysis.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void BuildConditionalJump(Node* condition); 161 void BuildConditionalJump(Node* condition);
162 void BuildJumpIfEqual(Node* comperand); 162 void BuildJumpIfEqual(Node* comperand);
163 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); 163 void BuildJumpIfToBooleanEqual(Node* boolean_comperand);
164 164
165 // Constructing merge and loop headers. 165 // Constructing merge and loop headers.
166 void MergeEnvironmentsOfBackwardBranches(int source_offset, 166 void MergeEnvironmentsOfBackwardBranches(int source_offset,
167 int target_offset); 167 int target_offset);
168 void MergeEnvironmentsOfForwardBranches(int source_offset); 168 void MergeEnvironmentsOfForwardBranches(int source_offset);
169 void BuildLoopHeaderForBackwardBranches(int source_offset); 169 void BuildLoopHeaderForBackwardBranches(int source_offset);
170 170
171 // Attaches a frame state to |node| for the entry to the function.
172 void PrepareEntryFrameState(Node* node);
173
171 // Growth increment for the temporary buffer used to construct input lists to 174 // Growth increment for the temporary buffer used to construct input lists to
172 // new nodes. 175 // new nodes.
173 static const int kInputBufferSizeIncrement = 64; 176 static const int kInputBufferSizeIncrement = 64;
174 177
175 // Field accessors 178 // Field accessors
176 CommonOperatorBuilder* common() const { return jsgraph_->common(); } 179 CommonOperatorBuilder* common() const { return jsgraph_->common(); }
177 Zone* graph_zone() const { return graph()->zone(); } 180 Zone* graph_zone() const { return graph()->zone(); }
178 CompilationInfo* info() const { return info_; } 181 CompilationInfo* info() const { return info_; }
179 JSGraph* jsgraph() const { return jsgraph_; } 182 JSGraph* jsgraph() const { return jsgraph_; }
180 JSOperatorBuilder* javascript() const { return jsgraph_->javascript(); } 183 JSOperatorBuilder* javascript() const { return jsgraph_->javascript(); }
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 Node* accumulator_state_values_; 335 Node* accumulator_state_values_;
333 int register_base_; 336 int register_base_;
334 int accumulator_base_; 337 int accumulator_base_;
335 }; 338 };
336 339
337 } // namespace compiler 340 } // namespace compiler
338 } // namespace internal 341 } // namespace internal
339 } // namespace v8 342 } // namespace v8
340 343
341 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 344 #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