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

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

Issue 12303013: Simd128Float32, Simd128Mask, and Simd128Float32List additions for dart:scalarlist (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix strict aliasing warning 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/raw_object.h » ('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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 RawClass* growable_object_array_class() const { 157 RawClass* growable_object_array_class() const {
158 return growable_object_array_class_; 158 return growable_object_array_class_;
159 } 159 }
160 void set_growable_object_array_class(const Class& value) { 160 void set_growable_object_array_class(const Class& value) {
161 growable_object_array_class_ = value.raw(); 161 growable_object_array_class_ = value.raw();
162 } 162 }
163 static intptr_t growable_object_array_class_offset() { 163 static intptr_t growable_object_array_class_offset() {
164 return OFFSET_OF(ObjectStore, growable_object_array_class_); 164 return OFFSET_OF(ObjectStore, growable_object_array_class_);
165 } 165 }
166 166
167 RawClass* float32x4_class() const {
168 return float32x4_class_;
169 }
170 void set_float32x4_class(const Class& value) {
171 float32x4_class_ = value.raw();
172 }
173
174 RawClass* uint32x4_class() const {
175 return uint32x4_class_;
176 }
177 void set_uint32x4_class(const Class& value) {
178 uint32x4_class_ = value.raw();
179 }
180
167 RawClass* int8_array_class() const { 181 RawClass* int8_array_class() const {
168 return int8_array_class_; 182 return int8_array_class_;
169 } 183 }
170 void set_int8_array_class(const Class& value) { 184 void set_int8_array_class(const Class& value) {
171 int8_array_class_ = value.raw(); 185 int8_array_class_ = value.raw();
172 } 186 }
173 187
174 RawClass* uint8_array_class() const { 188 RawClass* uint8_array_class() const {
175 return uint8_array_class_; 189 return uint8_array_class_;
176 } 190 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 int64_array_class_ = value.raw(); 234 int64_array_class_ = value.raw();
221 } 235 }
222 236
223 RawClass* uint64_array_class() const { 237 RawClass* uint64_array_class() const {
224 return uint64_array_class_; 238 return uint64_array_class_;
225 } 239 }
226 void set_uint64_array_class(const Class& value) { 240 void set_uint64_array_class(const Class& value) {
227 uint64_array_class_ = value.raw(); 241 uint64_array_class_ = value.raw();
228 } 242 }
229 243
244 RawClass* float32x4_array_class() const {
245 return float32x4_array_class_;
246 }
247 void set_float32x4_array_class(const Class& value) {
248 float32x4_array_class_ = value.raw();
249 }
250
230 RawClass* float32_array_class() const { 251 RawClass* float32_array_class() const {
231 return float32_array_class_; 252 return float32_array_class_;
232 } 253 }
233 void set_float32_array_class(const Class& value) { 254 void set_float32_array_class(const Class& value) {
234 float32_array_class_ = value.raw(); 255 float32_array_class_ = value.raw();
235 } 256 }
236 257
237 RawClass* float64_array_class() const { 258 RawClass* float64_array_class() const {
238 return float64_array_class_; 259 return float64_array_class_;
239 } 260 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 external_int64_array_class_ = value.raw(); 318 external_int64_array_class_ = value.raw();
298 } 319 }
299 320
300 RawClass* external_uint64_array_class() const { 321 RawClass* external_uint64_array_class() const {
301 return external_uint64_array_class_; 322 return external_uint64_array_class_;
302 } 323 }
303 void set_external_uint64_array_class(const Class& value) { 324 void set_external_uint64_array_class(const Class& value) {
304 external_uint64_array_class_ = value.raw(); 325 external_uint64_array_class_ = value.raw();
305 } 326 }
306 327
328 RawClass* external_float32x4_array_class() const {
329 return external_float32x4_array_class_;
330 }
331 void set_external_float32x4_array_class(const Class& value) {
332 external_float32x4_array_class_ = value.raw();
333 }
334
307 RawClass* external_float32_array_class() const { 335 RawClass* external_float32_array_class() const {
308 return external_float32_array_class_; 336 return external_float32_array_class_;
309 } 337 }
310 void set_external_float32_array_class(const Class& value) { 338 void set_external_float32_array_class(const Class& value) {
311 external_float32_array_class_ = value.raw(); 339 external_float32_array_class_ = value.raw();
312 } 340 }
313 341
314 RawClass* external_float64_array_class() const { 342 RawClass* external_float64_array_class() const {
315 return external_float64_array_class_; 343 return external_float64_array_class_;
316 } 344 }
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 RawClass* two_byte_string_class_; 589 RawClass* two_byte_string_class_;
562 RawClass* external_one_byte_string_class_; 590 RawClass* external_one_byte_string_class_;
563 RawClass* external_two_byte_string_class_; 591 RawClass* external_two_byte_string_class_;
564 RawType* bool_type_; 592 RawType* bool_type_;
565 RawClass* bool_class_; 593 RawClass* bool_class_;
566 RawClass* list_class_; 594 RawClass* list_class_;
567 RawClass* array_class_; 595 RawClass* array_class_;
568 RawType* array_type_; 596 RawType* array_type_;
569 RawClass* immutable_array_class_; 597 RawClass* immutable_array_class_;
570 RawClass* growable_object_array_class_; 598 RawClass* growable_object_array_class_;
599 RawClass* float32x4_class_;
600 RawClass* uint32x4_class_;
571 RawClass* int8_array_class_; 601 RawClass* int8_array_class_;
572 RawClass* uint8_array_class_; 602 RawClass* uint8_array_class_;
573 RawClass* uint8_clamped_array_class_; 603 RawClass* uint8_clamped_array_class_;
574 RawClass* int16_array_class_; 604 RawClass* int16_array_class_;
575 RawClass* uint16_array_class_; 605 RawClass* uint16_array_class_;
576 RawClass* int32_array_class_; 606 RawClass* int32_array_class_;
577 RawClass* uint32_array_class_; 607 RawClass* uint32_array_class_;
578 RawClass* int64_array_class_; 608 RawClass* int64_array_class_;
579 RawClass* uint64_array_class_; 609 RawClass* uint64_array_class_;
610 RawClass* float32x4_array_class_;
580 RawClass* float32_array_class_; 611 RawClass* float32_array_class_;
581 RawClass* float64_array_class_; 612 RawClass* float64_array_class_;
582 RawClass* external_int8_array_class_; 613 RawClass* external_int8_array_class_;
583 RawClass* external_uint8_array_class_; 614 RawClass* external_uint8_array_class_;
584 RawClass* external_uint8_clamped_array_class_; 615 RawClass* external_uint8_clamped_array_class_;
585 RawClass* external_int16_array_class_; 616 RawClass* external_int16_array_class_;
586 RawClass* external_uint16_array_class_; 617 RawClass* external_uint16_array_class_;
587 RawClass* external_int32_array_class_; 618 RawClass* external_int32_array_class_;
588 RawClass* external_uint32_array_class_; 619 RawClass* external_uint32_array_class_;
589 RawClass* external_int64_array_class_; 620 RawClass* external_int64_array_class_;
590 RawClass* external_uint64_array_class_; 621 RawClass* external_uint64_array_class_;
622 RawClass* external_float32x4_array_class_;
591 RawClass* external_float32_array_class_; 623 RawClass* external_float32_array_class_;
592 RawClass* external_float64_array_class_; 624 RawClass* external_float64_array_class_;
593 RawClass* stacktrace_class_; 625 RawClass* stacktrace_class_;
594 RawClass* jsregexp_class_; 626 RawClass* jsregexp_class_;
595 RawClass* weak_property_class_; 627 RawClass* weak_property_class_;
596 RawArray* symbol_table_; 628 RawArray* symbol_table_;
597 RawArray* canonical_type_arguments_; 629 RawArray* canonical_type_arguments_;
598 RawLibrary* async_library_; 630 RawLibrary* async_library_;
599 RawLibrary* builtin_library_; 631 RawLibrary* builtin_library_;
600 RawLibrary* core_library_; 632 RawLibrary* core_library_;
(...skipping 24 matching lines...) Expand all
625 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 657 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
626 658
627 friend class SnapshotReader; 659 friend class SnapshotReader;
628 660
629 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 661 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
630 }; 662 };
631 663
632 } // namespace dart 664 } // namespace dart
633 665
634 #endif // VM_OBJECT_STORE_H_ 666 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698