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

Unified Diff: runtime/vm/object.cc

Issue 2842753002: Reland "Use off-heap data for type feedback in PolymorphicInstanceCallInstr" (Closed)
Patch Set: Fix AOT case Created 3 years, 8 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/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 08821a27c542653e4afa6d19076ed8b2754b7551..ff790974353a1eb7902cfe48cf4fc2e173e80c4e 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -13882,19 +13882,6 @@ bool ICData::HasOneTarget() 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.IsDispatcherOrImplicitAccessor()) {
- return false;
- }
- }
- return true;
-}
-
-
void ICData::GetUsedCidsForTwoArgs(GrowableArray<intptr_t>* first,
GrowableArray<intptr_t>* second) const {
ASSERT(NumArgsTested() == 2);
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698