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

Unified Diff: pkg/compiler/lib/src/js/nodes.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/js/nodes.dart
diff --git a/pkg/compiler/lib/src/js/nodes.dart b/pkg/compiler/lib/src/js/nodes.dart
index b6ce749efe6e522b400fcc8c04d52cba1fc099af..4fe35e53d7b86726e598b3a980759ca9c928ddd0 100644
--- a/pkg/compiler/lib/src/js/nodes.dart
+++ b/pkg/compiler/lib/src/js/nodes.dart
@@ -663,7 +663,10 @@ class Call extends Expression {
Expression target;
List<Expression> arguments;
- Call(this.target, this.arguments);
+ Call(this.target, this.arguments,
+ {JavaScriptNodeSourceInformation sourceInformation}) {
+ this._sourceInformation = sourceInformation;
+ }
accept(NodeVisitor visitor) => visitor.visitCall(this);

Powered by Google App Engine
This is Rietveld 408576698