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

Unified Diff: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart

Issue 955543004: Pass SourceInformation through the CPS IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comments 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
Index: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
index 3181b59be3448c22e0a9d4ccfecf4ca6c5606f53..3373d5368eb5d7b799671e0a6cbfc040c3981a2b 100644
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
@@ -404,7 +404,8 @@ class Builder extends cps_ir.Visitor<Node> {
Statement visitInvokeStatic(cps_ir.InvokeStatic node) {
// Calls are translated to direct style.
List<Expression> arguments = translateArguments(node.arguments);
- Expression invoke = new InvokeStatic(node.target, node.selector, arguments);
+ Expression invoke = new InvokeStatic(node.target, node.selector, arguments,
+ sourceInformation: node.sourceInformation);
return continueWithExpression(node.continuation, invoke);
}

Powered by Google App Engine
This is Rietveld 408576698