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

Unified Diff: runtime/vm/isolate.h

Issue 605533003: Make subtype test stubs isolate-specific. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/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; }

Powered by Google App Engine
This is Rietveld 408576698