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

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

Issue 8509031: Revert r1380 that is breaking frog. (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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
207 pending_classes_ = value.raw(); 208 pending_classes_ = value.raw();
208 } 209 }
209 210
210 RawString* sticky_error() const { return sticky_error_; } 211 RawString* sticky_error() const { return sticky_error_; }
211 void set_sticky_error(const String& value) { 212 void set_sticky_error(const String& value) {
212 ASSERT(!value.IsNull()); 213 ASSERT(!value.IsNull());
213 sticky_error_ = value.raw(); 214 sticky_error_ = value.raw();
214 } 215 }
215 216
216 RawBool* true_value() const { return true_value_; } 217 RawBool* true_value() const { return true_value_; }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } 281 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); }
281 282
282 friend class SnapshotReader; 283 friend class SnapshotReader;
283 284
284 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 285 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
285 }; 286 };
286 287
287 } // namespace dart 288 } // namespace dart
288 289
289 #endif // VM_OBJECT_STORE_H_ 290 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « 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