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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 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) 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 {
11 11
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 } 378 }
379 void set_native_wrappers_library(const Library& value) { 379 void set_native_wrappers_library(const Library& value) {
380 native_wrappers_library_ = value.raw(); 380 native_wrappers_library_ = value.raw();
381 } 381 }
382 382
383 RawLibrary* mirrors_library() const { return mirrors_library_; } 383 RawLibrary* mirrors_library() const { return mirrors_library_; }
384 void set_mirrors_library(const Library& value) { 384 void set_mirrors_library(const Library& value) {
385 mirrors_library_ = value.raw(); 385 mirrors_library_ = value.raw();
386 } 386 }
387 387
388 RawLibrary* scalarlist_library() const {
389 return scalarlist_library_;
390 }
391 void set_scalarlist_library(const Library& value) {
392 scalarlist_library_ = value.raw();
393 }
394
388 RawLibrary* builtin_library() const { 395 RawLibrary* builtin_library() const {
389 return builtin_library_; 396 return builtin_library_;
390 } 397 }
391 void set_builtin_library(const Library& value) { 398 void set_builtin_library(const Library& value) {
392 builtin_library_ = value.raw(); 399 builtin_library_ = value.raw();
393 } 400 }
394 401
395 RawLibrary* root_library() const { return root_library_; } 402 RawLibrary* root_library() const { return root_library_; }
396 void set_root_library(const Library& value) { 403 void set_root_library(const Library& value) {
397 root_library_ = value.raw(); 404 root_library_ = value.raw();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 RawClass* weak_property_class_; 518 RawClass* weak_property_class_;
512 RawBool* true_value_; 519 RawBool* true_value_;
513 RawBool* false_value_; 520 RawBool* false_value_;
514 RawArray* symbol_table_; 521 RawArray* symbol_table_;
515 RawArray* canonical_type_arguments_; 522 RawArray* canonical_type_arguments_;
516 RawLibrary* core_library_; 523 RawLibrary* core_library_;
517 RawLibrary* core_impl_library_; 524 RawLibrary* core_impl_library_;
518 RawLibrary* math_library_; 525 RawLibrary* math_library_;
519 RawLibrary* isolate_library_; 526 RawLibrary* isolate_library_;
520 RawLibrary* mirrors_library_; 527 RawLibrary* mirrors_library_;
528 RawLibrary* scalarlist_library_;
521 RawLibrary* native_wrappers_library_; 529 RawLibrary* native_wrappers_library_;
522 RawLibrary* builtin_library_; 530 RawLibrary* builtin_library_;
523 RawLibrary* root_library_; 531 RawLibrary* root_library_;
524 RawGrowableObjectArray* libraries_; 532 RawGrowableObjectArray* libraries_;
525 RawGrowableObjectArray* pending_classes_; 533 RawGrowableObjectArray* pending_classes_;
526 RawError* sticky_error_; 534 RawError* sticky_error_;
527 RawContext* empty_context_; 535 RawContext* empty_context_;
528 RawInstance* stack_overflow_; 536 RawInstance* stack_overflow_;
529 RawInstance* out_of_memory_; 537 RawInstance* out_of_memory_;
530 RawArray* keyword_symbols_; 538 RawArray* keyword_symbols_;
531 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 539 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
532 540
533 friend class SnapshotReader; 541 friend class SnapshotReader;
534 542
535 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 543 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
536 }; 544 };
537 545
538 } // namespace dart 546 } // namespace dart
539 547
540 #endif // VM_OBJECT_STORE_H_ 548 #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