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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartIdentifier.java

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from floitsch Created 9 years, 2 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: compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java b/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
index fcd2a515fa429e3e876d80396c77d3036ad0bde0..410f221b958dae67c6933311fbb7755f685bbbb3 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
@@ -50,6 +50,10 @@ public class DartIdentifier extends DartExpression implements ElementReference {
return targetName;
}
+ /**
+ * Different access from getSymbol() to help distinguish parts of an expression
+ * when walking a DartPropertyAccess.
+ */
public Element getTargetSymbol() {
return targetSymbol;
}

Powered by Google App Engine
This is Rietveld 408576698