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

Unified Diff: runtime/vm/ast.h

Issue 1289643005: Rename accessors of class Field to make it more apparent as to what is being accessed - static fiel… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: self-code-review Created 5 years, 4 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: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index 32fd18db8736962f4debcec2b076c5b520b75be4..659b66547edaa3446cd5bb606c38dea7f6a9557f 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -1299,7 +1299,7 @@ class LoadStaticFieldNode : public AstNode {
virtual const Instance* EvalConstExpr() const {
ASSERT(field_.is_static());
return !is_deferred_reference_ && field_.is_const()
- ? &Instance::ZoneHandle(field_.value())
+ ? &Instance::ZoneHandle(field_.StaticFieldValue())
: NULL;
}

Powered by Google App Engine
This is Rietveld 408576698