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

Side by Side 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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/class_table.h" 10 #include "vm/class_table.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool visit_prologue_weak_persistent_handles, 54 bool visit_prologue_weak_persistent_handles,
55 bool validate_frames); 55 bool validate_frames);
56 56
57 // Visits weak object pointers. 57 // Visits weak object pointers.
58 void VisitWeakPersistentHandles(HandleVisitor* visit, 58 void VisitWeakPersistentHandles(HandleVisitor* visit,
59 bool visit_prologue_weak_persistent_handles); 59 bool visit_prologue_weak_persistent_handles);
60 60
61 StoreBufferBlock* store_buffer() { return &store_buffer_; } 61 StoreBufferBlock* store_buffer() { return &store_buffer_; }
62 62
63 ClassTable* class_table() { return &class_table_; } 63 ClassTable* class_table() { return &class_table_; }
64 static intptr_t class_table_offset() {
65 return OFFSET_OF(Isolate, class_table_);
66 }
64 67
65 Dart_MessageNotifyCallback message_notify_callback() const { 68 Dart_MessageNotifyCallback message_notify_callback() const {
66 return message_notify_callback_; 69 return message_notify_callback_;
67 } 70 }
68 void set_message_notify_callback(Dart_MessageNotifyCallback value) { 71 void set_message_notify_callback(Dart_MessageNotifyCallback value) {
69 message_notify_callback_ = value; 72 message_notify_callback_ = value;
70 } 73 }
71 74
72 const char* name() const { return name_; } 75 const char* name() const { return name_; }
73 76
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 Isolate* new_isolate_; 296 Isolate* new_isolate_;
294 Isolate* saved_isolate_; 297 Isolate* saved_isolate_;
295 uword saved_stack_limit_; 298 uword saved_stack_limit_;
296 299
297 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); 300 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope);
298 }; 301 };
299 302
300 } // namespace dart 303 } // namespace dart
301 304
302 #endif // VM_ISOLATE_H_ 305 #endif // VM_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698