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

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

Issue 12544015: Implement 'dart:typeddata' directly in the VM instead of using 'dart:scalarlist' (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
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 external_float32_array_class_ = value.raw(); 344 external_float32_array_class_ = value.raw();
345 } 345 }
346 346
347 RawClass* external_float64_array_class() const { 347 RawClass* external_float64_array_class() const {
348 return external_float64_array_class_; 348 return external_float64_array_class_;
349 } 349 }
350 void set_external_float64_array_class(const Class& value) { 350 void set_external_float64_array_class(const Class& value) {
351 external_float64_array_class_ = value.raw(); 351 external_float64_array_class_ = value.raw();
352 } 352 }
353 353
354 RawArray* typeddata_classes() const {
355 return typeddata_classes_;
356 }
357 void set_typeddata_classes(const Array& value) {
358 typeddata_classes_ = value.raw();
359 }
360
354 RawClass* stacktrace_class() const { 361 RawClass* stacktrace_class() const {
355 return stacktrace_class_; 362 return stacktrace_class_;
356 } 363 }
357 void set_stacktrace_class(const Class& value) { 364 void set_stacktrace_class(const Class& value) {
358 stacktrace_class_ = value.raw(); 365 stacktrace_class_ = value.raw();
359 } 366 }
360 static intptr_t stacktrace_class_offset() { 367 static intptr_t stacktrace_class_offset() {
361 return OFFSET_OF(ObjectStore, stacktrace_class_); 368 return OFFSET_OF(ObjectStore, stacktrace_class_);
362 } 369 }
363 370
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 RawClass* external_uint8_clamped_array_class_; 642 RawClass* external_uint8_clamped_array_class_;
636 RawClass* external_int16_array_class_; 643 RawClass* external_int16_array_class_;
637 RawClass* external_uint16_array_class_; 644 RawClass* external_uint16_array_class_;
638 RawClass* external_int32_array_class_; 645 RawClass* external_int32_array_class_;
639 RawClass* external_uint32_array_class_; 646 RawClass* external_uint32_array_class_;
640 RawClass* external_int64_array_class_; 647 RawClass* external_int64_array_class_;
641 RawClass* external_uint64_array_class_; 648 RawClass* external_uint64_array_class_;
642 RawClass* external_float32x4_array_class_; 649 RawClass* external_float32x4_array_class_;
643 RawClass* external_float32_array_class_; 650 RawClass* external_float32_array_class_;
644 RawClass* external_float64_array_class_; 651 RawClass* external_float64_array_class_;
652 RawArray* typeddata_classes_;
645 RawClass* stacktrace_class_; 653 RawClass* stacktrace_class_;
646 RawClass* jsregexp_class_; 654 RawClass* jsregexp_class_;
647 RawClass* weak_property_class_; 655 RawClass* weak_property_class_;
648 RawArray* symbol_table_; 656 RawArray* symbol_table_;
649 RawArray* canonical_type_arguments_; 657 RawArray* canonical_type_arguments_;
650 RawLibrary* async_library_; 658 RawLibrary* async_library_;
651 RawLibrary* builtin_library_; 659 RawLibrary* builtin_library_;
652 RawLibrary* core_library_; 660 RawLibrary* core_library_;
653 RawLibrary* core_impl_library_; 661 RawLibrary* core_impl_library_;
654 RawLibrary* collection_library_; 662 RawLibrary* collection_library_;
(...skipping 24 matching lines...) Expand all
679 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 687 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
680 688
681 friend class SnapshotReader; 689 friend class SnapshotReader;
682 690
683 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 691 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
684 }; 692 };
685 693
686 } // namespace dart 694 } // namespace dart
687 695
688 #endif // VM_OBJECT_STORE_H_ 696 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698