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

Unified Diff: runtime/vm/flow_graph_compiler.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/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 4a4178663fd54f0dcd1654d62096c537f3472710..8d13ae8eda9aaa01c2ad05636000c6ac2374ffea 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -1034,7 +1034,7 @@ void FlowGraphCompiler::TryIntrinsify() {
// Only intrinsify getter if the field cannot contain a mutable double.
// Reading from a mutable double box requires allocating a fresh double.
if (load_node.field().guarded_cid() == kDynamicCid) {
- GenerateInlinedGetter(load_node.field().Offset());
+ GenerateInlinedGetter(load_node.field().InstanceFieldOffset());
}
return;
}
@@ -1048,7 +1048,7 @@ void FlowGraphCompiler::TryIntrinsify() {
const StoreInstanceFieldNode& store_node =
*sequence_node.NodeAt(0)->AsStoreInstanceFieldNode();
if (store_node.field().guarded_cid() == kDynamicCid) {
- GenerateInlinedSetter(store_node.field().Offset());
+ GenerateInlinedSetter(store_node.field().InstanceFieldOffset());
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698