Chromium Code Reviews| Index: runtime/vm/isolate.h |
| =================================================================== |
| --- runtime/vm/isolate.h (revision 40703) |
| +++ runtime/vm/isolate.h (working copy) |
| @@ -146,6 +146,11 @@ |
| static intptr_t class_table_offset() { |
| return OFFSET_OF(Isolate, class_table_); |
| } |
| + uword ClassTableAddress() { |
| + return reinterpret_cast<uword>(this) |
| + + Isolate::class_table_offset() |
|
Vyacheslav Egorov (Google)
2014/09/26 13:09:43
just add TableAddress() getter to ClassTable that
Florian Schneider
2014/09/26 14:05:02
Done.
|
| + + ClassTable::table_offset(); |
| + } |
| CHA* cha() const { return cha_; } |
| void set_cha(CHA* value) { cha_ = value; } |