| OLD | NEW |
| 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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 Error* bound_error) const; | 1359 Error* bound_error) const; |
| 1360 | 1360 |
| 1361 // Return the internal or public name of a subvector of this type argument | 1361 // Return the internal or public name of a subvector of this type argument |
| 1362 // vector, e.g. "<T, dynamic, List<T>, int>". | 1362 // vector, e.g. "<T, dynamic, List<T>, int>". |
| 1363 RawString* SubvectorName(intptr_t from_index, | 1363 RawString* SubvectorName(intptr_t from_index, |
| 1364 intptr_t len, | 1364 intptr_t len, |
| 1365 NameVisibility name_visibility) const; | 1365 NameVisibility name_visibility) const; |
| 1366 | 1366 |
| 1367 RawArray* instantiations() const; | 1367 RawArray* instantiations() const; |
| 1368 void set_instantiations(const Array& value) const; | 1368 void set_instantiations(const Array& value) const; |
| 1369 void set_type_at(intptr_t index, const AbstractType& value) const; |
| 1369 RawAbstractType** TypeAddr(intptr_t index) const; | 1370 RawAbstractType** TypeAddr(intptr_t index) const; |
| 1370 void SetLength(intptr_t value) const; | 1371 void SetLength(intptr_t value) const; |
| 1371 | 1372 |
| 1372 FINAL_HEAP_OBJECT_IMPLEMENTATION(TypeArguments, Object); | 1373 FINAL_HEAP_OBJECT_IMPLEMENTATION(TypeArguments, Object); |
| 1373 friend class AbstractType; | 1374 friend class AbstractType; |
| 1374 friend class Class; | 1375 friend class Class; |
| 1375 }; | 1376 }; |
| 1376 | 1377 |
| 1377 | 1378 |
| 1378 class PatchClass : public Object { | 1379 class PatchClass : public Object { |
| (...skipping 5222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6601 | 6602 |
| 6602 | 6603 |
| 6603 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 6604 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 6604 intptr_t index) { | 6605 intptr_t index) { |
| 6605 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 6606 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 6606 } | 6607 } |
| 6607 | 6608 |
| 6608 } // namespace dart | 6609 } // namespace dart |
| 6609 | 6610 |
| 6610 #endif // VM_OBJECT_H_ | 6611 #endif // VM_OBJECT_H_ |
| OLD | NEW |