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

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

Issue 928213003: Model exceptional edges from call nodes in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 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/ast-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Stack of control scopes currently entered by the visitor. 77 // Stack of control scopes currently entered by the visitor.
78 ControlScope* execution_control_; 78 ControlScope* execution_control_;
79 79
80 // Stack of context objects pushed onto the chain by the visitor. 80 // Stack of context objects pushed onto the chain by the visitor.
81 ContextScope* execution_context_; 81 ContextScope* execution_context_;
82 82
83 // Nodes representing values in the activation record. 83 // Nodes representing values in the activation record.
84 SetOncePointer<Node> function_closure_; 84 SetOncePointer<Node> function_closure_;
85 SetOncePointer<Node> function_context_; 85 SetOncePointer<Node> function_context_;
86 86
87 // Tracks how many try-blocks are currently entered.
88 int try_nesting_level_;
89
87 // Temporary storage for building node input lists. 90 // Temporary storage for building node input lists.
88 int input_buffer_size_; 91 int input_buffer_size_;
89 Node** input_buffer_; 92 Node** input_buffer_;
90 93
91 // Merge of all control nodes that exit the function body. 94 // Merge of all control nodes that exit the function body.
92 Node* exit_control_; 95 Node* exit_control_;
93 96
94 // Result of loop assignment analysis performed before graph creation. 97 // Result of loop assignment analysis performed before graph creation.
95 LoopAssignmentAnalysis* loop_assignment_analysis_; 98 LoopAssignmentAnalysis* loop_assignment_analysis_;
96 99
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 470
468 // Prepare environment to be used as loop header. 471 // Prepare environment to be used as loop header.
469 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 472 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
470 }; 473 };
471 474
472 } // namespace compiler 475 } // namespace compiler
473 } // namespace internal 476 } // namespace internal
474 } // namespace v8 477 } // namespace v8
475 478
476 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 479 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698