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

Unified Diff: src/ast/ast.h

Issue 2262703002: [TurboFan] Ensure value is pushed for StackOverflow in AstVisitor::Visit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 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/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 7ea466ccb569444b0afd4c4e52938adc0816b2f5..1b80d3f36d951a3f1b71ecbabd650d8ce0d6af56 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -2867,9 +2867,13 @@ class AstVisitor BASE_EMBEDDED {
#define DEFINE_AST_VISITOR_SUBCLASS_MEMBERS() \
public: \
+ void VisitNoStackOverflowCheck(AstNode* node) { \
+ GENERATE_AST_VISITOR_SWITCH() \
+ } \
+ \
void Visit(AstNode* node) { \
if (CheckStackOverflow()) return; \
- GENERATE_AST_VISITOR_SWITCH() \
+ VisitNoStackOverflowCheck(node); \
} \
\
void SetStackOverflow() { stack_overflow_ = true; } \
« 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