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

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

Issue 51333005: Add Uint32x4List to typed_data (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | runtime/vm/object.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_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 5632 matching lines...) Expand 10 before | Expand all | Expand 10 after
5643 TYPED_GETTER_SETTER(Uint8, uint8_t) 5643 TYPED_GETTER_SETTER(Uint8, uint8_t)
5644 TYPED_GETTER_SETTER(Int16, int16_t) 5644 TYPED_GETTER_SETTER(Int16, int16_t)
5645 TYPED_GETTER_SETTER(Uint16, uint16_t) 5645 TYPED_GETTER_SETTER(Uint16, uint16_t)
5646 TYPED_GETTER_SETTER(Int32, int32_t) 5646 TYPED_GETTER_SETTER(Int32, int32_t)
5647 TYPED_GETTER_SETTER(Uint32, uint32_t) 5647 TYPED_GETTER_SETTER(Uint32, uint32_t)
5648 TYPED_GETTER_SETTER(Int64, int64_t) 5648 TYPED_GETTER_SETTER(Int64, int64_t)
5649 TYPED_GETTER_SETTER(Uint64, uint64_t) 5649 TYPED_GETTER_SETTER(Uint64, uint64_t)
5650 TYPED_GETTER_SETTER(Float32, float) 5650 TYPED_GETTER_SETTER(Float32, float)
5651 TYPED_GETTER_SETTER(Float64, double) 5651 TYPED_GETTER_SETTER(Float64, double)
5652 TYPED_GETTER_SETTER(Float32x4, simd128_value_t) 5652 TYPED_GETTER_SETTER(Float32x4, simd128_value_t)
5653 TYPED_GETTER_SETTER(Uint32x4, simd128_value_t)
5653 5654
5654 #undef TYPED_GETTER_SETTER 5655 #undef TYPED_GETTER_SETTER
5655 5656
5656 static intptr_t length_offset() { 5657 static intptr_t length_offset() {
5657 return OFFSET_OF(RawTypedData, length_); 5658 return OFFSET_OF(RawTypedData, length_);
5658 } 5659 }
5659 5660
5660 static intptr_t data_offset() { 5661 static intptr_t data_offset() {
5661 return OFFSET_OF(RawTypedData, data_); 5662 return OFFSET_OF(RawTypedData, data_);
5662 } 5663 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
5775 TYPED_GETTER_SETTER(Int8, int8_t) 5776 TYPED_GETTER_SETTER(Int8, int8_t)
5776 TYPED_GETTER_SETTER(Uint8, uint8_t) 5777 TYPED_GETTER_SETTER(Uint8, uint8_t)
5777 TYPED_GETTER_SETTER(Int16, int16_t) 5778 TYPED_GETTER_SETTER(Int16, int16_t)
5778 TYPED_GETTER_SETTER(Uint16, uint16_t) 5779 TYPED_GETTER_SETTER(Uint16, uint16_t)
5779 TYPED_GETTER_SETTER(Int32, int32_t) 5780 TYPED_GETTER_SETTER(Int32, int32_t)
5780 TYPED_GETTER_SETTER(Uint32, uint32_t) 5781 TYPED_GETTER_SETTER(Uint32, uint32_t)
5781 TYPED_GETTER_SETTER(Int64, int64_t) 5782 TYPED_GETTER_SETTER(Int64, int64_t)
5782 TYPED_GETTER_SETTER(Uint64, uint64_t) 5783 TYPED_GETTER_SETTER(Uint64, uint64_t)
5783 TYPED_GETTER_SETTER(Float32, float) 5784 TYPED_GETTER_SETTER(Float32, float)
5784 TYPED_GETTER_SETTER(Float64, double) 5785 TYPED_GETTER_SETTER(Float64, double)
5785 TYPED_GETTER_SETTER(Float32x4, simd128_value_t); 5786 TYPED_GETTER_SETTER(Float32x4, simd128_value_t)
5787 TYPED_GETTER_SETTER(Uint32x4, simd128_value_t);
5786 5788
5787 #undef TYPED_GETTER_SETTER 5789 #undef TYPED_GETTER_SETTER
5788 5790
5789 FinalizablePersistentHandle* AddFinalizer( 5791 FinalizablePersistentHandle* AddFinalizer(
5790 void* peer, Dart_WeakPersistentHandleFinalizer callback) const; 5792 void* peer, Dart_WeakPersistentHandleFinalizer callback) const;
5791 5793
5792 static intptr_t length_offset() { 5794 static intptr_t length_offset() {
5793 return OFFSET_OF(RawExternalTypedData, length_); 5795 return OFFSET_OF(RawExternalTypedData, length_);
5794 } 5796 }
5795 5797
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
6294 6296
6295 6297
6296 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6298 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6297 intptr_t index) { 6299 intptr_t index) {
6298 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6300 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6299 } 6301 }
6300 6302
6301 } // namespace dart 6303 } // namespace dart
6302 6304
6303 #endif // VM_OBJECT_H_ 6305 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698