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

Unified Diff: runtime/vm/ast_printer_test.cc

Issue 11199002: Remove built-in identifier 'negate' from VM (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
Index: runtime/vm/ast_printer_test.cc
===================================================================
--- runtime/vm/ast_printer_test.cc (revision 13693)
+++ runtime/vm/ast_printer_test.cc (working copy)
@@ -33,7 +33,7 @@
Token::kADD,
new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(3))),
new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(5)))));
- AstPrinter::PrintNode(new UnaryOpNode(kPos, Token::kSUB, ll));
+ AstPrinter::PrintNode(new UnaryOpNode(kPos, Token::kNEGATE, ll));
}
} // namespace dart
« no previous file with comments | « runtime/vm/ast.cc ('k') | runtime/vm/ast_test.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698