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

Unified Diff: runtime/vm/isolate.h

Issue 10447064: In generated code for ia32 don't load object's class directly from class_ field. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 6fdbd2046be7dfff7f5dbb795bde7f8f64c90cc2..8f44597eca6a6292234e4847077daff691af7084 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -61,6 +61,9 @@ class Isolate : public BaseIsolate {
StoreBufferBlock* store_buffer() { return &store_buffer_; }
ClassTable* class_table() { return &class_table_; }
+ static intptr_t class_table_offset() {
+ return OFFSET_OF(Isolate, class_table_);
+ }
Dart_MessageNotifyCallback message_notify_callback() const {
return message_notify_callback_;

Powered by Google App Engine
This is Rietveld 408576698