Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index 14a9895d999cb7fca3877134d22c6f5f4e1e20a0..03969a39247a51554e3e922d57cac9bdc6df5155 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -39,6 +39,7 @@ namespace dart { |
V(ExceptionHandlers) \ |
V(Context) \ |
V(ContextScope) \ |
+ V(SingleTargetCache) \ |
V(ICData) \ |
V(MegamorphicCache) \ |
V(SubtypeTestCache) \ |
@@ -1480,6 +1481,21 @@ class RawContextScope : public RawObject { |
}; |
+class RawSingleTargetCache : public RawObject { |
+ RAW_HEAP_OBJECT_IMPLEMENTATION(SingleTargetCache); |
+ RawObject** from() { |
+ return reinterpret_cast<RawObject**>(&ptr()->target_); |
+ } |
+ RawCode* target_; |
+ RawObject** to() { |
+ return reinterpret_cast<RawObject**>(&ptr()->target_); |
+ } |
+ uword entry_point_; |
+ classid_t lower_limit_; |
+ classid_t upper_limit_; |
+}; |
+ |
+ |
class RawICData : public RawObject { |
RAW_HEAP_OBJECT_IMPLEMENTATION(ICData); |