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

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

Issue 12335111: Resubmit change 19074. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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) 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 RawInstance* stack_overflow() const { return stack_overflow_; } 518 RawInstance* stack_overflow() const { return stack_overflow_; }
519 void set_stack_overflow(const Instance& value) { 519 void set_stack_overflow(const Instance& value) {
520 stack_overflow_ = value.raw(); 520 stack_overflow_ = value.raw();
521 } 521 }
522 522
523 RawInstance* out_of_memory() const { return out_of_memory_; } 523 RawInstance* out_of_memory() const { return out_of_memory_; }
524 void set_out_of_memory(const Instance& value) { 524 void set_out_of_memory(const Instance& value) {
525 out_of_memory_ = value.raw(); 525 out_of_memory_ = value.raw();
526 } 526 }
527 527
528 RawStacktrace* preallocated_stack_trace() const {
529 return preallocated_stack_trace_;
530 }
531 void set_preallocated_stack_trace(const Stacktrace& value) {
532 preallocated_stack_trace_ = value.raw();
533 }
534
528 RawArray* keyword_symbols() const { return keyword_symbols_; } 535 RawArray* keyword_symbols() const { return keyword_symbols_; }
529 void set_keyword_symbols(const Array& value) { 536 void set_keyword_symbols(const Array& value) {
530 keyword_symbols_ = value.raw(); 537 keyword_symbols_ = value.raw();
531 } 538 }
532 void InitKeywordTable(); 539 void InitKeywordTable();
533 540
534 RawFunction* receive_port_create_function() const { 541 RawFunction* receive_port_create_function() const {
535 return receive_port_create_function_; 542 return receive_port_create_function_;
536 } 543 }
537 void set_receive_port_create_function(const Function& function) { 544 void set_receive_port_create_function(const Function& function) {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 RawLibrary* scalarlist_library_; 650 RawLibrary* scalarlist_library_;
644 RawLibrary* uri_library_; 651 RawLibrary* uri_library_;
645 RawLibrary* utf_library_; 652 RawLibrary* utf_library_;
646 RawGrowableObjectArray* libraries_; 653 RawGrowableObjectArray* libraries_;
647 RawGrowableObjectArray* pending_classes_; 654 RawGrowableObjectArray* pending_classes_;
648 RawError* sticky_error_; 655 RawError* sticky_error_;
649 RawString* unhandled_exception_handler_; 656 RawString* unhandled_exception_handler_;
650 RawContext* empty_context_; 657 RawContext* empty_context_;
651 RawInstance* stack_overflow_; 658 RawInstance* stack_overflow_;
652 RawInstance* out_of_memory_; 659 RawInstance* out_of_memory_;
660 RawStacktrace* preallocated_stack_trace_;
653 RawArray* keyword_symbols_; 661 RawArray* keyword_symbols_;
654 RawFunction* receive_port_create_function_; 662 RawFunction* receive_port_create_function_;
655 RawFunction* lookup_receive_port_function_; 663 RawFunction* lookup_receive_port_function_;
656 RawFunction* handle_message_function_; 664 RawFunction* handle_message_function_;
657 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 665 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
658 666
659 friend class SnapshotReader; 667 friend class SnapshotReader;
660 668
661 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 669 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
662 }; 670 };
663 671
664 } // namespace dart 672 } // namespace dart
665 673
666 #endif // VM_OBJECT_STORE_H_ 674 #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