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

Unified Diff: frog/leg/universe.dart

Issue 9701072: Revert r5529. Breaks frog and web bots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « frog/leg/resolver.dart ('k') | frog/leg/warnings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/universe.dart
===================================================================
--- frog/leg/universe.dart (revision 5530)
+++ frog/leg/universe.dart (working copy)
@@ -120,11 +120,11 @@
bool addSendArgumentsToList(Send send,
List list,
FunctionParameters parameters,
- compileArgument(Node argument),
- compileConstant(Element element)) {
+ visitArgument(Node argument),
+ visitConstant(Element element)) {
void addMatchingSendArgumentsToList(Link<Node> link) {
for (; !link.isEmpty(); link = link.tail) {
- list.add(compileArgument(link.head));
+ list.add(visitArgument(link.head));
}
}
@@ -143,14 +143,13 @@
for (int i = 0;
i < positionalArgumentCount;
arguments = arguments.tail, i++) {
- list.add(compileArgument(arguments.head));
+ list.add(visitArgument(arguments.head));
}
// Visit named arguments and add them into a temporary list.
List namedArguments = [];
for (; !arguments.isEmpty(); arguments = arguments.tail) {
- NamedArgument namedArgument = arguments.head;
- namedArguments.add(compileArgument(namedArgument.expression));
+ namedArguments.add(visitArgument(arguments.head));
}
Link<Element> remainingNamedParameters = parameters.optionalParameters;
@@ -180,7 +179,7 @@
if (foundIndex != -1) {
list.add(namedArguments[foundIndex]);
} else {
- list.add(compileConstant(parameter));
+ list.add(visitConstant(parameter));
}
}
return true;
« no previous file with comments | « frog/leg/resolver.dart ('k') | frog/leg/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698