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

Unified Diff: runtime/vm/ast_printer.cc

Issue 11267027: More fixes for super[] (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « runtime/vm/ast.cc ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_printer.cc
===================================================================
--- runtime/vm/ast_printer.cc (revision 14156)
+++ runtime/vm/ast_printer.cc (working copy)
@@ -326,12 +326,16 @@
void AstPrinter::VisitLoadIndexedNode(LoadIndexedNode* node) {
- VisitGenericAstNode(node);
+ OS::Print("(%s%s ", node->Name(), node->IsSuperLoad() ? " super" : "");
+ node->VisitChildren(this);
+ OS::Print(")");
}
void AstPrinter::VisitStoreIndexedNode(StoreIndexedNode* node) {
- VisitGenericAstNode(node);
+ OS::Print("(%s%s ", node->Name(), node->IsSuperStore() ? " super" : "");
+ node->VisitChildren(this);
+ OS::Print(")");
}
« no previous file with comments | « runtime/vm/ast.cc ('k') | runtime/vm/flow_graph_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698