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

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

Issue 13818006: Unboxed load/store indexed of Float32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 3492 matching lines...) Expand 10 before | Expand all | Expand 10 after
3503 3503
3504 // Check if this type represents the 'bool' type. 3504 // Check if this type represents the 'bool' type.
3505 bool IsBoolType() const; 3505 bool IsBoolType() const;
3506 3506
3507 // Check if this type represents the 'int' type. 3507 // Check if this type represents the 'int' type.
3508 bool IsIntType() const; 3508 bool IsIntType() const;
3509 3509
3510 // Check if this type represents the 'double' type. 3510 // Check if this type represents the 'double' type.
3511 bool IsDoubleType() const; 3511 bool IsDoubleType() const;
3512 3512
3513 // Check if this type represents the 'Float32x4' type.
3514 bool IsFloat32x4Type() const;
3515
3516 // Check if this type represents the 'Uint32x4' type.
3517 bool IsUint32x4Type() const;
3518
3513 // Check if this type represents the 'num' type. 3519 // Check if this type represents the 'num' type.
3514 bool IsNumberType() const; 3520 bool IsNumberType() const;
3515 3521
3516 // Check if this type represents the 'String' type. 3522 // Check if this type represents the 'String' type.
3517 bool IsStringType() const; 3523 bool IsStringType() const;
3518 3524
3519 // Check if this type represents the 'Function' type. 3525 // Check if this type represents the 'Function' type.
3520 bool IsFunctionType() const; 3526 bool IsFunctionType() const;
3521 3527
3522 // Check the subtype relationship. 3528 // Check the subtype relationship.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
3615 3621
3616 // The 'Smi' type. 3622 // The 'Smi' type.
3617 static RawType* SmiType(); 3623 static RawType* SmiType();
3618 3624
3619 // The 'Mint' type. 3625 // The 'Mint' type.
3620 static RawType* MintType(); 3626 static RawType* MintType();
3621 3627
3622 // The 'double' type. 3628 // The 'double' type.
3623 static RawType* Double(); 3629 static RawType* Double();
3624 3630
3631 // The 'Float32x4' type.
3632 static RawType* Float32x4();
3633
3634 // The 'Uint32x4' type.
3635 static RawType* Uint32x4();
3636
3625 // The 'num' type. 3637 // The 'num' type.
3626 static RawType* Number(); 3638 static RawType* Number();
3627 3639
3628 // The 'String' type. 3640 // The 'String' type.
3629 static RawType* StringType(); 3641 static RawType* StringType();
3630 3642
3631 // The 'Array' type. 3643 // The 'Array' type.
3632 static RawType* ArrayType(); 3644 static RawType* ArrayType();
3633 3645
3634 // The 'Function' type. 3646 // The 'Function' type.
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after
5648 5660
5649 5661
5650 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 5662 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
5651 intptr_t index) { 5663 intptr_t index) {
5652 return array.At((index * kEntryLength) + kTargetFunctionIndex); 5664 return array.At((index * kEntryLength) + kTargetFunctionIndex);
5653 } 5665 }
5654 5666
5655 } // namespace dart 5667 } // namespace dart
5656 5668
5657 #endif // VM_OBJECT_H_ 5669 #endif // VM_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698