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

Unified Diff: src/compiler/ast-graph-builder.h

Issue 2147573002: [turbofan] Respect catch prediction provided by parser. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ast-graph-builder.h
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h
index c3603d8b96daaee1c7c4ed5fb13b1015be7a859a..b0b4041c5348b3163ed806f6d69ed2b3fd0329b9 100644
--- a/src/compiler/ast-graph-builder.h
+++ b/src/compiler/ast-graph-builder.h
@@ -96,9 +96,11 @@ class AstGraphBuilder : public AstVisitor {
SetOncePointer<Node> new_target_;
// Tracks how many try-blocks are currently entered.
- int try_catch_nesting_level_;
int try_nesting_level_;
+ // Tracks the prediction of the innermost try-block.
+ bool try_catch_prediction_;
+
// Temporary storage for building node input lists.
int input_buffer_size_;
Node** input_buffer_;
« 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