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

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
« no previous file with comments | « runtime/vm/intermediate_language.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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index bd547a34489eac9aeb98b227cb8de7bf3f928b4b..3e0a63034cdf438a7b12f899d22cb7c10747e794 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3579,24 +3579,15 @@ class ICData : public Object {
V(BinaryMintOp) \
V(DoubleToSmi) \
V(Unknown) \
- V(InstanceGetter) \
V(PolymorphicInstanceCallTestFail) \
- V(InstanceCallNoICData) \
- V(IntegerToDouble) \
V(UnaryMintOp) \
V(BinaryDoubleOp) \
- V(InstanceSetter) \
- V(Equality) \
- V(RelationalOp) \
- V(EqualityClassCheck) \
- V(NoTypeFeedback) \
V(UnaryOp) \
V(UnboxInteger) \
V(CheckClass) \
V(CheckSmi) \
V(CheckArrayBound) \
V(AtCall) \
- V(Int32Load) \
V(Uint32Load) \
V(GuardField) \
V(TestCids) \
@@ -3715,6 +3706,8 @@ class ICData : public Object {
RawICData* AsUnaryClassChecks() const {
return AsUnaryClassChecksForArgNr(0);
}
+ RawICData* AsUnaryClassChecksForCid(
+ intptr_t cid, const Function& target) const;
// Consider only used entries.
bool AllTargetsHaveSameOwner(intptr_t owner_cid) const;
@@ -3727,6 +3720,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);
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698