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

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

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