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

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
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 4119 matching lines...) Expand 10 before | Expand all | Expand 10 after
4130 4130
4131 // Check if this type represents the 'int' type. 4131 // Check if this type represents the 'int' type.
4132 bool IsIntType() const; 4132 bool IsIntType() const;
4133 4133
4134 // Check if this type represents the 'double' type. 4134 // Check if this type represents the 'double' type.
4135 bool IsDoubleType() const; 4135 bool IsDoubleType() const;
4136 4136
4137 // Check if this type represents the 'Float32x4' type. 4137 // Check if this type represents the 'Float32x4' type.
4138 bool IsFloat32x4Type() const; 4138 bool IsFloat32x4Type() const;
4139 4139
4140 // Check if this type represents the 'Float64x2' type.
4141 bool IsFloat64x2Type() const;
4142
4140 // Check if this type represents the 'Int32x4' type. 4143 // Check if this type represents the 'Int32x4' type.
4141 bool IsInt32x4Type() const; 4144 bool IsInt32x4Type() const;
4142 4145
4143 // Check if this type represents the 'num' type. 4146 // Check if this type represents the 'num' type.
4144 bool IsNumberType() const; 4147 bool IsNumberType() const;
4145 4148
4146 // Check if this type represents the 'String' type. 4149 // Check if this type represents the 'String' type.
4147 bool IsStringType() const; 4150 bool IsStringType() const;
4148 4151
4149 // Check if this type represents the 'Function' type. 4152 // Check if this type represents the 'Function' type.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4257 4260
4258 // The 'Mint' type. 4261 // The 'Mint' type.
4259 static RawType* MintType(); 4262 static RawType* MintType();
4260 4263
4261 // The 'double' type. 4264 // The 'double' type.
4262 static RawType* Double(); 4265 static RawType* Double();
4263 4266
4264 // The 'Float32x4' type. 4267 // The 'Float32x4' type.
4265 static RawType* Float32x4(); 4268 static RawType* Float32x4();
4266 4269
4270 // The 'Float64x2' type.
4271 static RawType* Float64x2();
4272
4267 // The 'Int32x4' type. 4273 // The 'Int32x4' type.
4268 static RawType* Int32x4(); 4274 static RawType* Int32x4();
4269 4275
4270 // The 'num' type. 4276 // The 'num' type.
4271 static RawType* Number(); 4277 static RawType* Number();
4272 4278
4273 // The 'String' type. 4279 // The 'String' type.
4274 static RawType* StringType(); 4280 static RawType* StringType();
4275 4281
4276 // The 'Array' type. 4282 // The 'Array' type.
(...skipping 2344 matching lines...) Expand 10 before | Expand all | Expand 10 after
6621 6627
6622 6628
6623 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6629 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6624 intptr_t index) { 6630 intptr_t index) {
6625 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6631 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6626 } 6632 }
6627 6633
6628 } // namespace dart 6634 } // namespace dart
6629 6635
6630 #endif // VM_OBJECT_H_ 6636 #endif // VM_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698