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

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

Issue 1776013002: [turbofan] Fix deoptimization stack layout for fast literal comparisons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address review comments Created 4 years, 9 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 6cff237c3c5ecfd108b78dac47cab1583bf2686c..e206db0c1a9d16edeea26035c37a99a1b552af94 100644
--- a/src/compiler/ast-graph-builder.h
+++ b/src/compiler/ast-graph-builder.h
@@ -419,11 +419,20 @@ class AstGraphBuilder : public AstVisitor {
void VisitTypeof(UnaryOperation* expr);
void VisitNot(UnaryOperation* expr);
+ // Dispatched from VisitTypeof, VisitLiteralCompareTypeof.
+ void VisitTypeofExpression(Expression* expr);
+
// Dispatched from VisitBinaryOperation.
void VisitComma(BinaryOperation* expr);
void VisitLogicalExpression(BinaryOperation* expr);
void VisitArithmeticExpression(BinaryOperation* expr);
+ // Dispatched from VisitCompareOperation.
+ void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr,
+ Node* nil_value);
+ void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr,
+ Handle<String> check);
+
// Dispatched from VisitForInStatement.
void VisitForInAssignment(Expression* expr, Node* value,
const VectorSlotPair& feedback,
« 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