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

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

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/native_entry.cc ('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 5467 matching lines...) Expand 10 before | Expand all | Expand 10 after
5478 5478
5479 // Check if this type represents the '_Smi' type. 5479 // Check if this type represents the '_Smi' type.
5480 bool IsSmiType() const; 5480 bool IsSmiType() const;
5481 5481
5482 // Check if this type represents the 'String' type. 5482 // Check if this type represents the 'String' type.
5483 bool IsStringType() const; 5483 bool IsStringType() const;
5484 5484
5485 // Check if this type represents the Dart 'Function' type. 5485 // Check if this type represents the Dart 'Function' type.
5486 bool IsDartFunctionType() const; 5486 bool IsDartFunctionType() const;
5487 5487
5488 // Check if this type represents the Dart '_Closure' type.
5489 bool IsDartClosureType() const;
5490
5488 // Check the subtype relationship. 5491 // Check the subtype relationship.
5489 bool IsSubtypeOf(const AbstractType& other, 5492 bool IsSubtypeOf(const AbstractType& other,
5490 Error* bound_error, 5493 Error* bound_error,
5491 TrailPtr bound_trail, 5494 TrailPtr bound_trail,
5492 Heap::Space space) const { 5495 Heap::Space space) const {
5493 return TypeTest(kIsSubtypeOf, other, bound_error, bound_trail, space); 5496 return TypeTest(kIsSubtypeOf, other, bound_error, bound_trail, space);
5494 } 5497 }
5495 5498
5496 // Check the 'more specific' relationship. 5499 // Check the 'more specific' relationship.
5497 bool IsMoreSpecificThan(const AbstractType& other, 5500 bool IsMoreSpecificThan(const AbstractType& other,
(...skipping 2957 matching lines...) Expand 10 before | Expand all | Expand 10 after
8455 8458
8456 8459
8457 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8460 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8458 intptr_t index) { 8461 intptr_t index) {
8459 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8462 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8460 } 8463 }
8461 8464
8462 } // namespace dart 8465 } // namespace dart
8463 8466
8464 #endif // VM_OBJECT_H_ 8467 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_entry.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698