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

Unified Diff: pkg/compiler/lib/src/cps_ir/type_propagation.dart

Issue 1344173005: dart2js CPS: Small cleanup of the compilation pipeline. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | pkg/compiler/lib/src/js_backend/codegen/task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart
diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
index 0d5c4f17b5176b75c9e78242dfb821fe81a5c57a..bb3da7ed395cb37ee34095775ebbfa1cd5bf40c0 100644
--- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
+++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
@@ -1079,7 +1079,7 @@ class TransformingVisitor extends LeafVisitor {
!node.selector.isCall) return false;
assert(node.selector.positionalArgumentCount == 1);
assert(node.selector.namedArgumentCount == 0);
- FunctionDefinition target = functionCompiler.compileToCpsIR(element);
+ FunctionDefinition target = functionCompiler.compileToCpsIr(element);
node.receiver.definition.substituteFor(target.thisParameter);
for (int i = 0; i < node.arguments.length; ++i) {
@@ -1425,7 +1425,7 @@ class TransformingVisitor extends LeafVisitor {
if (functionElement.resolvedAst.elements.containsTryStatement) return false;
FunctionDefinition target =
- functionCompiler.compileToCpsIR(functionElement);
+ functionCompiler.compileToCpsIr(functionElement);
// Accesses to closed-over values are field access primitives. We we don't
// inline if there are other uses of 'this' since that could be an escape or
@@ -1650,7 +1650,7 @@ class TransformingVisitor extends LeafVisitor {
if (!shouldInline()) return false;
- FunctionDefinition target = functionCompiler.compileToCpsIR(node.target);
+ FunctionDefinition target = functionCompiler.compileToCpsIr(node.target);
for (int i = 0; i < node.arguments.length; ++i) {
node.arguments[i].definition.substituteFor(target.parameters[i]);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/codegen/task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698