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

Unified Diff: runtime/vm/kernel.h

Issue 2624513005: Small cleanups in the Kernel FlowGraphBuilder (Closed)
Patch Set: Incorporate review comments Created 3 years, 11 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 | runtime/vm/kernel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel.h
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
index 998bc5eaaa09892c3584e1a942ce54703372f9bf..62281558bdd066e366d6e412fd3e1ffdc0417c0f 100644
--- a/runtime/vm/kernel.h
+++ b/runtime/vm/kernel.h
@@ -79,7 +79,6 @@
M(AwaitExpression) \
M(FunctionExpression) \
M(Let) \
- M(BlockExpression) \
M(Statement) \
M(InvalidStatement) \
M(ExpressionStatement) \
@@ -1905,31 +1904,6 @@ class Let : public Expression {
};
-class BlockExpression : public Expression {
- public:
- static BlockExpression* ReadFrom(Reader* reader);
- virtual void WriteTo(Writer* writer);
-
- virtual ~BlockExpression();
-
- DEFINE_CASTING_OPERATIONS(BlockExpression);
-
- virtual void AcceptExpressionVisitor(ExpressionVisitor* visitor);
- virtual void VisitChildren(Visitor* visitor);
-
- Block* body() { return body_; }
- Expression* value() { return value_; }
-
- private:
- BlockExpression() {}
-
- Child<Block> body_;
- Child<Expression> value_;
-
- DISALLOW_COPY_AND_ASSIGN(BlockExpression);
-};
-
-
class Statement : public TreeNode {
public:
static Statement* ReadFrom(Reader* reader);
@@ -2941,9 +2915,6 @@ class ExpressionVisitor {
VisitDefaultBasicLiteral(node);
}
virtual void VisitLet(Let* node) { VisitDefaultExpression(node); }
- virtual void VisitBlockExpression(BlockExpression* node) {
- VisitDefaultExpression(node);
- }
};
« no previous file with comments | « no previous file | runtime/vm/kernel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698