Chromium Code Reviews| Index: runtime/vm/raw_object.h |
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
| index 14a9895d999cb7fca3877134d22c6f5f4e1e20a0..5d54b97193e5dd94eb38ed1ce49640a6fa355c4e 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_; |
| + intptr_t lower_limit_; |
|
Florian Schneider
2016/08/30 20:42:34
classid_t?
rmacnak
2016/08/31 16:42:57
Done.
|
| + intptr_t upper_limit_; |
|
Florian Schneider
2016/08/30 20:42:34
classid_t
rmacnak
2016/08/31 16:42:57
Done.
|
| +}; |
| + |
| + |
| class RawICData : public RawObject { |
| RAW_HEAP_OBJECT_IMPLEMENTATION(ICData); |