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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 507063002: Did you mean const? (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « runtime/vm/cha_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index 6164491aa4d9aeadeadaee0bd781382a954ab75f..734d80b19a3532349136310eaa35e85c16f1dcbe 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -4450,7 +4450,7 @@ void FlowGraphOptimizer::VisitStoreInstanceField(
// executed.
const Field& field = Field::ZoneHandle(I, instr->field().raw());
const String& field_name = String::Handle(I, field.name());
- class Class& owner = Class::Handle(I, field.owner());
+ const Class& owner = Class::Handle(I, field.owner());
const Function& getter =
Function::Handle(I, owner.LookupGetterFunction(field_name));
const Function& setter =
« no previous file with comments | « runtime/vm/cha_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698