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

Unified Diff: runtime/vm/ast.h

Issue 10919263: Re-land r12289. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index 9aaa4f19578db081fdb39ae3bc89450c4f98b0be..6464cae001c03de2ee7aa1390eaf0b9ef61f936f 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -1075,7 +1075,7 @@ class LoadStaticFieldNode : public AstNode {
virtual const Instance* EvalConstExpr() const {
ASSERT(field_.is_static());
- return field_.is_final() ? &Instance::ZoneHandle(field_.value()) : NULL;
+ return field_.is_const() ? &Instance::ZoneHandle(field_.value()) : NULL;
}
DECLARE_COMMON_NODE_FUNCTIONS(LoadStaticFieldNode);
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698