Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index f60ab345f95fa026c43b842d891884eb83e7c579..19a2197c4bf67f291f6d128b3b268c8baccc232b 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -13441,13 +13441,12 @@ bool ICData::HasOneTarget() const { |
} |
-bool ICData::HasOnlyDispatcherTargets() const { |
+bool ICData::HasOnlyDispatcherOrImplicitAccessorTargets() const { |
const intptr_t len = NumberOfChecks(); |
Function& target = Function::Handle(); |
for (intptr_t i = 0; i < len; i++) { |
target = GetTargetAt(i); |
- if (!target.IsNoSuchMethodDispatcher() && |
- !target.IsInvokeFieldDispatcher()) { |
+ if (!target.IsDispatcherOrImplicitAccessor()) { |
return false; |
} |
} |