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

Unified Diff: runtime/vm/kernel_to_il.cc

Issue 2691943008: VM: [Kernel] Make [DirectMethodInvocation]s also work for setters/getters (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_to_il.cc
diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc
index fd383f817ff5b0b1b0ca1492cdfb0b8e0bbc153d..e4e75a5a09ac08c390a33ea779d9fc901fb90c25 100644
--- a/runtime/vm/kernel_to_il.cc
+++ b/runtime/vm/kernel_to_il.cc
@@ -4829,7 +4829,7 @@ void FlowGraphBuilder::VisitMethodInvocation(MethodInvocation* node) {
void FlowGraphBuilder::VisitDirectMethodInvocation(
DirectMethodInvocation* node) {
- const dart::String& method_name = H.DartMethodName(node->target()->name());
+ const dart::String& method_name = H.DartProcedureName(node->target());
const Function& target = Function::ZoneHandle(
Z, LookupMethodByMember(node->target(), method_name));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698