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

Unified Diff: pkg/analyzer2dart/lib/src/cps_generator.dart

Issue 916793003: Fix method rename in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer2dart/lib/src/cps_generator.dart
diff --git a/pkg/analyzer2dart/lib/src/cps_generator.dart b/pkg/analyzer2dart/lib/src/cps_generator.dart
index a2dc9e677271b78fe81a0469a625146d5c77c1c2..879b308631b91cac754d98cb6bf0f23ffd92a027 100644
--- a/pkg/analyzer2dart/lib/src/cps_generator.dart
+++ b/pkg/analyzer2dart/lib/src/cps_generator.dart
@@ -219,7 +219,7 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node>
dart2js.Element element = converter.convertElement(staticElement);
ir.Primitive receiver = irBuilder.buildLocalGet(element);
List<ir.Definition> arguments = visitArguments(node.argumentList);
- return irBuilder.buildFunctionExpressionInvocation(
+ return irBuilder.buildCallInvocation(
receiver,
createSelectorFromMethodInvocation(
node.argumentList, node.methodName.name),
@@ -243,7 +243,7 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node>
FunctionExpressionInvocation node) {
ir.Primitive target = build(node.function);
List<ir.Definition> arguments = visitArguments(node.argumentList);
- return irBuilder.buildFunctionExpressionInvocation(
+ return irBuilder.buildCallInvocation(
target,
createSelectorFromMethodInvocation(node.argumentList, 'call'),
arguments);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698