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

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

Issue 11274043: Move Arrays, Collections and Maps into a new library, dart:collections. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move collection_sources.gypi to lib/collection/. Created 8 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
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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 RawLibrary* core_library() const { return core_library_; } 355 RawLibrary* core_library() const { return core_library_; }
356 void set_core_library(const Library& value) { 356 void set_core_library(const Library& value) {
357 core_library_ = value.raw(); 357 core_library_ = value.raw();
358 } 358 }
359 359
360 RawLibrary* core_impl_library() const { return core_impl_library_; } 360 RawLibrary* core_impl_library() const { return core_impl_library_; }
361 void set_core_impl_library(const Library& value) { 361 void set_core_impl_library(const Library& value) {
362 core_impl_library_ = value.raw(); 362 core_impl_library_ = value.raw();
363 } 363 }
364 364
365 RawLibrary* collection_library() const {
366 return collection_library_;
367 }
368 void set_collection_library(const Library& value) {
369 collection_library_ = value.raw();
370 }
371
365 RawLibrary* math_library() const { 372 RawLibrary* math_library() const {
366 return math_library_; 373 return math_library_;
367 } 374 }
368 void set_math_library(const Library& value) { 375 void set_math_library(const Library& value) {
369 math_library_ = value.raw(); 376 math_library_ = value.raw();
370 } 377 }
371 378
372 RawLibrary* isolate_library() const { 379 RawLibrary* isolate_library() const {
373 return isolate_library_; 380 return isolate_library_;
374 } 381 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 RawClass* external_float64_array_class_; 526 RawClass* external_float64_array_class_;
520 RawClass* stacktrace_class_; 527 RawClass* stacktrace_class_;
521 RawClass* jsregexp_class_; 528 RawClass* jsregexp_class_;
522 RawClass* weak_property_class_; 529 RawClass* weak_property_class_;
523 RawBool* true_value_; 530 RawBool* true_value_;
524 RawBool* false_value_; 531 RawBool* false_value_;
525 RawArray* symbol_table_; 532 RawArray* symbol_table_;
526 RawArray* canonical_type_arguments_; 533 RawArray* canonical_type_arguments_;
527 RawLibrary* core_library_; 534 RawLibrary* core_library_;
528 RawLibrary* core_impl_library_; 535 RawLibrary* core_impl_library_;
536 RawLibrary* collection_library_;
529 RawLibrary* math_library_; 537 RawLibrary* math_library_;
530 RawLibrary* isolate_library_; 538 RawLibrary* isolate_library_;
531 RawLibrary* mirrors_library_; 539 RawLibrary* mirrors_library_;
532 RawLibrary* scalarlist_library_; 540 RawLibrary* scalarlist_library_;
533 RawLibrary* native_wrappers_library_; 541 RawLibrary* native_wrappers_library_;
534 RawLibrary* builtin_library_; 542 RawLibrary* builtin_library_;
535 RawLibrary* root_library_; 543 RawLibrary* root_library_;
536 RawGrowableObjectArray* libraries_; 544 RawGrowableObjectArray* libraries_;
537 RawGrowableObjectArray* pending_classes_; 545 RawGrowableObjectArray* pending_classes_;
538 RawError* sticky_error_; 546 RawError* sticky_error_;
539 RawContext* empty_context_; 547 RawContext* empty_context_;
540 RawInstance* stack_overflow_; 548 RawInstance* stack_overflow_;
541 RawInstance* out_of_memory_; 549 RawInstance* out_of_memory_;
542 RawArray* keyword_symbols_; 550 RawArray* keyword_symbols_;
543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 551 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
544 552
545 friend class SnapshotReader; 553 friend class SnapshotReader;
546 554
547 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 555 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
548 }; 556 };
549 557
550 } // namespace dart 558 } // namespace dart
551 559
552 #endif // VM_OBJECT_STORE_H_ 560 #endif // VM_OBJECT_STORE_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698