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

Unified Diff: runtime/vm/object.h

Issue 1153963002: Remove value check from ICData checks/house-keeping (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: c Created 5 years, 7 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index bd547a34489eac9aeb98b227cb8de7bf3f928b4b..5cfdb81f5b545a824c3c74f75c0c49349b7774b4 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3715,6 +3715,10 @@ class ICData : public Object {
RawICData* AsUnaryClassChecks() const {
return AsUnaryClassChecksForArgNr(0);
}
+ RawICData* AsUnaryClassChecksForCids(
+ const GrowableArray<intptr_t>& cids, const Function& target) const;
+ RawICData* AsUnaryClassChecksForCid(
+ intptr_t cid, const Function& target) const;
// Consider only used entries.
bool AllTargetsHaveSameOwner(intptr_t owner_cid) const;
@@ -3727,6 +3731,7 @@ class ICData : public Object {
const Array& arguments_descriptor,
intptr_t deopt_id,
intptr_t num_args_tested);
+ static RawICData* NewFrom(const ICData& from, intptr_t num_args_tested);
static intptr_t TestEntryLengthFor(intptr_t num_args);

Powered by Google App Engine
This is Rietveld 408576698