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

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

Issue 9316071: Dart_PropagateError, take 2. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 void set_pending_classes(const Array& value) { 269 void set_pending_classes(const Array& value) {
270 ASSERT(!value.IsNull()); 270 ASSERT(!value.IsNull());
271 pending_classes_ = value.raw(); 271 pending_classes_ = value.raw();
272 } 272 }
273 273
274 RawError* sticky_error() const { return sticky_error_; } 274 RawError* sticky_error() const { return sticky_error_; }
275 void set_sticky_error(const Error& value) { 275 void set_sticky_error(const Error& value) {
276 ASSERT(!value.IsNull()); 276 ASSERT(!value.IsNull());
277 sticky_error_ = value.raw(); 277 sticky_error_ = value.raw();
278 } 278 }
279 void clear_sticky_error() { sticky_error_ = Error::null(); }
279 280
280 RawBool* true_value() const { return true_value_; } 281 RawBool* true_value() const { return true_value_; }
281 void set_true_value(const Bool& value) { true_value_ = value.raw(); } 282 void set_true_value(const Bool& value) { true_value_ = value.raw(); }
282 283
283 RawBool* false_value() const { return false_value_; } 284 RawBool* false_value() const { return false_value_; }
284 void set_false_value(const Bool& value) { false_value_ = value.raw(); } 285 void set_false_value(const Bool& value) { false_value_ = value.raw(); }
285 286
286 RawArray* empty_array() const { return empty_array_; } 287 RawArray* empty_array() const { return empty_array_; }
287 void set_empty_array(const Array& value) { empty_array_ = value.raw(); } 288 void set_empty_array(const Array& value) { empty_array_ = value.raw(); }
288 289
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 bool preallocate_objects_called_; 371 bool preallocate_objects_called_;
371 372
372 friend class SnapshotReader; 373 friend class SnapshotReader;
373 374
374 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 375 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
375 }; 376 };
376 377
377 } // namespace dart 378 } // namespace dart
378 379
379 #endif // VM_OBJECT_STORE_H_ 380 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698