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

Unified Diff: lib/compiler/implementation/ssa/builder.dart

Issue 10695174: [RFC] Associate AST nodes with HIstructions when building HGraph. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 5 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: lib/compiler/implementation/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index f106e1be2a4c4036bfc495df27093efa0c166098..bd3843f86da9a798fe5b033e77b5aaa7b3661ac0 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -1642,6 +1642,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
HInstruction target =
new HStatic(interceptors.getPrefixOperatorInterceptor(op));
+ target.sourceToken = node.getBeginToken();
floitsch 2012/07/17 14:46:53 Maybe: attachPosition(target, node); If this funct
podivilov 2012/07/17 16:42:46 Done.
add(target);
HInvokeUnary result;
String value = op.source.stringValue;
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/codegen.dart » ('j') | lib/compiler/implementation/ssa/codegen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698