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

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

Issue 22897019: Detect circular dependencies in compile time constants (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « no previous file | 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) 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_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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 void set_libraries(const GrowableObjectArray& value) { 342 void set_libraries(const GrowableObjectArray& value) {
343 libraries_ = value.raw(); 343 libraries_ = value.raw();
344 } 344 }
345 345
346 RawGrowableObjectArray* pending_classes() const { return pending_classes_; } 346 RawGrowableObjectArray* pending_classes() const { return pending_classes_; }
347 void set_pending_classes(const GrowableObjectArray& value) { 347 void set_pending_classes(const GrowableObjectArray& value) {
348 ASSERT(!value.IsNull()); 348 ASSERT(!value.IsNull());
349 pending_classes_ = value.raw(); 349 pending_classes_ = value.raw();
350 } 350 }
351 351
352 RawGrowableObjectArray* pending_functions() const {
353 return pending_functions_;
354 }
355
352 RawError* sticky_error() const { return sticky_error_; } 356 RawError* sticky_error() const { return sticky_error_; }
353 void set_sticky_error(const Error& value) { 357 void set_sticky_error(const Error& value) {
354 ASSERT(!value.IsNull()); 358 ASSERT(!value.IsNull());
355 sticky_error_ = value.raw(); 359 sticky_error_ = value.raw();
356 } 360 }
357 void clear_sticky_error() { sticky_error_ = Error::null(); } 361 void clear_sticky_error() { sticky_error_ = Error::null(); }
358 362
359 RawString* unhandled_exception_handler() const { 363 RawString* unhandled_exception_handler() const {
360 return unhandled_exception_handler_; 364 return unhandled_exception_handler_;
361 } 365 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 RawLibrary* isolate_library_; 482 RawLibrary* isolate_library_;
479 RawLibrary* json_library_; 483 RawLibrary* json_library_;
480 RawLibrary* math_library_; 484 RawLibrary* math_library_;
481 RawLibrary* mirrors_library_; 485 RawLibrary* mirrors_library_;
482 RawLibrary* native_wrappers_library_; 486 RawLibrary* native_wrappers_library_;
483 RawLibrary* root_library_; 487 RawLibrary* root_library_;
484 RawLibrary* typed_data_library_; 488 RawLibrary* typed_data_library_;
485 RawLibrary* utf_library_; 489 RawLibrary* utf_library_;
486 RawGrowableObjectArray* libraries_; 490 RawGrowableObjectArray* libraries_;
487 RawGrowableObjectArray* pending_classes_; 491 RawGrowableObjectArray* pending_classes_;
492 RawGrowableObjectArray* pending_functions_;
488 RawError* sticky_error_; 493 RawError* sticky_error_;
489 RawString* unhandled_exception_handler_; 494 RawString* unhandled_exception_handler_;
490 RawContext* empty_context_; 495 RawContext* empty_context_;
491 RawInstance* stack_overflow_; 496 RawInstance* stack_overflow_;
492 RawInstance* out_of_memory_; 497 RawInstance* out_of_memory_;
493 RawStacktrace* preallocated_stack_trace_; 498 RawStacktrace* preallocated_stack_trace_;
494 RawArray* keyword_symbols_; 499 RawArray* keyword_symbols_;
495 RawFunction* receive_port_create_function_; 500 RawFunction* receive_port_create_function_;
496 RawFunction* lookup_receive_port_function_; 501 RawFunction* lookup_receive_port_function_;
497 RawFunction* handle_message_function_; 502 RawFunction* handle_message_function_;
498 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 503 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
499 504
500 friend class SnapshotReader; 505 friend class SnapshotReader;
501 506
502 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 507 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
503 }; 508 };
504 509
505 } // namespace dart 510 } // namespace dart
506 511
507 #endif // VM_OBJECT_STORE_H_ 512 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698