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

Side by Side Diff: runtime/vm/object_store.h

Issue 8506001: Finalize all classes (fix issue 364). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_OBJECT_STORE_H_ 5 #ifndef VM_OBJECT_STORE_H_
6 #define VM_OBJECT_STORE_H_ 6 #define VM_OBJECT_STORE_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 197 }
198 198
199 // Returns head of list of registered libraries. 199 // Returns head of list of registered libraries.
200 RawLibrary* registered_libraries() const { return registered_libraries_; } 200 RawLibrary* registered_libraries() const { return registered_libraries_; }
201 void set_registered_libraries(const Library& value) { 201 void set_registered_libraries(const Library& value) {
202 registered_libraries_ = value.raw(); 202 registered_libraries_ = value.raw();
203 } 203 }
204 204
205 RawArray* pending_classes() const { return pending_classes_; } 205 RawArray* pending_classes() const { return pending_classes_; }
206 void set_pending_classes(const Array& value) { 206 void set_pending_classes(const Array& value) {
207 ASSERT(!value.IsNull());
208 pending_classes_ = value.raw(); 207 pending_classes_ = value.raw();
209 } 208 }
210 209
211 RawString* sticky_error() const { return sticky_error_; } 210 RawString* sticky_error() const { return sticky_error_; }
212 void set_sticky_error(const String& value) { 211 void set_sticky_error(const String& value) {
213 ASSERT(!value.IsNull()); 212 ASSERT(!value.IsNull());
214 sticky_error_ = value.raw(); 213 sticky_error_ = value.raw();
215 } 214 }
216 215
217 RawBool* true_value() const { return true_value_; } 216 RawBool* true_value() const { return true_value_; }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } 280 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); }
282 281
283 friend class SnapshotReader; 282 friend class SnapshotReader;
284 283
285 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 284 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
286 }; 285 };
287 286
288 } // namespace dart 287 } // namespace dart
289 288
290 #endif // VM_OBJECT_STORE_H_ 289 #endif // VM_OBJECT_STORE_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698