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

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

Issue 2171083004: [interpreter] Implement OSR graph construction from bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-2
Patch Set: Fix build on Windows. Created 4 years, 4 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 | « src/compiler.cc ('k') | 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 Zone* local_zone_; 213 Zone* local_zone_;
214 JSGraph* jsgraph_; 214 JSGraph* jsgraph_;
215 Handle<BytecodeArray> bytecode_array_; 215 Handle<BytecodeArray> bytecode_array_;
216 Handle<HandlerTable> exception_handler_table_; 216 Handle<HandlerTable> exception_handler_table_;
217 Handle<TypeFeedbackVector> feedback_vector_; 217 Handle<TypeFeedbackVector> feedback_vector_;
218 const FrameStateFunctionInfo* frame_state_function_info_; 218 const FrameStateFunctionInfo* frame_state_function_info_;
219 const interpreter::BytecodeArrayIterator* bytecode_iterator_; 219 const interpreter::BytecodeArrayIterator* bytecode_iterator_;
220 const BytecodeBranchAnalysis* branch_analysis_; 220 const BytecodeBranchAnalysis* branch_analysis_;
221 Environment* environment_; 221 Environment* environment_;
222 BailoutId osr_ast_id_;
222 223
223 // Merge environments are snapshots of the environment at points where the 224 // Merge environments are snapshots of the environment at points where the
224 // control flow merges. This models a forward data flow propagation of all 225 // control flow merges. This models a forward data flow propagation of all
225 // values from all predecessors of the merge in question. 226 // values from all predecessors of the merge in question.
226 ZoneMap<int, Environment*> merge_environments_; 227 ZoneMap<int, Environment*> merge_environments_;
227 228
228 // Exception handlers currently entered by the iteration. 229 // Exception handlers currently entered by the iteration.
229 ZoneStack<ExceptionHandler> exception_handlers_; 230 ZoneStack<ExceptionHandler> exception_handlers_;
230 int current_exception_handler_; 231 int current_exception_handler_;
231 232
(...skipping 10 matching lines...) Expand all
242 ZoneVector<Node*> exit_controls_; 243 ZoneVector<Node*> exit_controls_;
243 244
244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
245 }; 246 };
246 247
247 } // namespace compiler 248 } // namespace compiler
248 } // namespace internal 249 } // namespace internal
249 } // namespace v8 250 } // namespace v8
250 251
251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698