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

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

Issue 1158563008: [turbofan] Introduce prediction for exception handlers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Architecture ports. Created 5 years, 6 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/arm64/instruction-selector-arm64.cc ('k') | 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 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ControlScope* execution_control_; 83 ControlScope* execution_control_;
84 84
85 // Stack of context objects pushed onto the chain by the visitor. 85 // Stack of context objects pushed onto the chain by the visitor.
86 ContextScope* execution_context_; 86 ContextScope* execution_context_;
87 87
88 // Nodes representing values in the activation record. 88 // Nodes representing values in the activation record.
89 SetOncePointer<Node> function_closure_; 89 SetOncePointer<Node> function_closure_;
90 SetOncePointer<Node> function_context_; 90 SetOncePointer<Node> function_context_;
91 91
92 // Tracks how many try-blocks are currently entered. 92 // Tracks how many try-blocks are currently entered.
93 int try_catch_nesting_level_;
93 int try_nesting_level_; 94 int try_nesting_level_;
94 95
95 // Temporary storage for building node input lists. 96 // Temporary storage for building node input lists.
96 int input_buffer_size_; 97 int input_buffer_size_;
97 Node** input_buffer_; 98 Node** input_buffer_;
98 99
99 // Control nodes that exit the function body. 100 // Control nodes that exit the function body.
100 ZoneVector<Node*> exit_controls_; 101 ZoneVector<Node*> exit_controls_;
101 102
102 // Result of loop assignment analysis performed before graph creation. 103 // Result of loop assignment analysis performed before graph creation.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 506
506 // Prepare environment to be used as loop header. 507 // Prepare environment to be used as loop header.
507 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 508 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
508 }; 509 };
509 510
510 } // namespace compiler 511 } // namespace compiler
511 } // namespace internal 512 } // namespace internal
512 } // namespace v8 513 } // namespace v8
513 514
514 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 515 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698