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

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

Issue 172653002: Unbox/Box Float64x2 and inline typed array loads and stores (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/locations.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 4122 matching lines...) Expand 10 before | Expand all | Expand 10 after
4133 4133
4134 // Check if this type represents the 'int' type. 4134 // Check if this type represents the 'int' type.
4135 bool IsIntType() const; 4135 bool IsIntType() const;
4136 4136
4137 // Check if this type represents the 'double' type. 4137 // Check if this type represents the 'double' type.
4138 bool IsDoubleType() const; 4138 bool IsDoubleType() const;
4139 4139
4140 // Check if this type represents the 'Float32x4' type. 4140 // Check if this type represents the 'Float32x4' type.
4141 bool IsFloat32x4Type() const; 4141 bool IsFloat32x4Type() const;
4142 4142
4143 // Check if this type represents the 'Float64x2' type.
4144 bool IsFloat64x2Type() const;
4145
4143 // Check if this type represents the 'Int32x4' type. 4146 // Check if this type represents the 'Int32x4' type.
4144 bool IsInt32x4Type() const; 4147 bool IsInt32x4Type() const;
4145 4148
4146 // Check if this type represents the 'num' type. 4149 // Check if this type represents the 'num' type.
4147 bool IsNumberType() const; 4150 bool IsNumberType() const;
4148 4151
4149 // Check if this type represents the 'String' type. 4152 // Check if this type represents the 'String' type.
4150 bool IsStringType() const; 4153 bool IsStringType() const;
4151 4154
4152 // Check if this type represents the 'Function' type. 4155 // Check if this type represents the 'Function' type.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4260 4263
4261 // The 'Mint' type. 4264 // The 'Mint' type.
4262 static RawType* MintType(); 4265 static RawType* MintType();
4263 4266
4264 // The 'double' type. 4267 // The 'double' type.
4265 static RawType* Double(); 4268 static RawType* Double();
4266 4269
4267 // The 'Float32x4' type. 4270 // The 'Float32x4' type.
4268 static RawType* Float32x4(); 4271 static RawType* Float32x4();
4269 4272
4273 // The 'Float64x2' type.
4274 static RawType* Float64x2();
4275
4270 // The 'Int32x4' type. 4276 // The 'Int32x4' type.
4271 static RawType* Int32x4(); 4277 static RawType* Int32x4();
4272 4278
4273 // The 'num' type. 4279 // The 'num' type.
4274 static RawType* Number(); 4280 static RawType* Number();
4275 4281
4276 // The 'String' type. 4282 // The 'String' type.
4277 static RawType* StringType(); 4283 static RawType* StringType();
4278 4284
4279 // The 'Array' type. 4285 // The 'Array' type.
(...skipping 2344 matching lines...) Expand 10 before | Expand all | Expand 10 after
6624 6630
6625 6631
6626 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6632 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6627 intptr_t index) { 6633 intptr_t index) {
6628 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6634 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6629 } 6635 }
6630 6636
6631 } // namespace dart 6637 } // namespace dart
6632 6638
6633 #endif // VM_OBJECT_H_ 6639 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/locations.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698