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

Unified Diff: runtime/vm/il_printer.cc

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/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index 9e0b653f327d927169a9773509844f0f25468d33..ed83925d8a13c7b20f11602e35c85c4f944f4ed1 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -519,7 +519,7 @@ void StoreInstanceFieldInstr::PrintOperandsTo(BufferFormatter* f) const {
} else {
f->Print("%s {%" Pd "}, ",
String::Handle(field().name()).ToCString(),
- field().Offset());
+ field().InstanceFieldOffset());
}
instance()->PrintTo(f);
f->Print(", ");

Powered by Google App Engine
This is Rietveld 408576698