| 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 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1868 bool AreValidArguments(intptr_t num_arguments, | 1868 bool AreValidArguments(intptr_t num_arguments, |
| 1869 const Array& argument_names, | 1869 const Array& argument_names, |
| 1870 String* error_message) const; | 1870 String* error_message) const; |
| 1871 bool AreValidArguments(const ArgumentsDescriptor& args_desc, | 1871 bool AreValidArguments(const ArgumentsDescriptor& args_desc, |
| 1872 String* error_message) const; | 1872 String* error_message) const; |
| 1873 | 1873 |
| 1874 // Fully qualified name uniquely identifying the function under gdb and during | 1874 // Fully qualified name uniquely identifying the function under gdb and during |
| 1875 // ast printing. The special ':' character, if present, is replaced by '_'. | 1875 // ast printing. The special ':' character, if present, is replaced by '_'. |
| 1876 const char* ToFullyQualifiedCString() const; | 1876 const char* ToFullyQualifiedCString() const; |
| 1877 | 1877 |
| 1878 const char* ToLibNamePrefixedQualifiedCString() const; |
| 1879 |
| 1878 const char* ToQualifiedCString() const; | 1880 const char* ToQualifiedCString() const; |
| 1879 | 1881 |
| 1880 // Returns true if this function has parameters that are compatible with the | 1882 // Returns true if this function has parameters that are compatible with the |
| 1881 // parameters of the other function in order for this function to override the | 1883 // parameters of the other function in order for this function to override the |
| 1882 // other function. | 1884 // other function. |
| 1883 bool HasCompatibleParametersWith(const Function& other, | 1885 bool HasCompatibleParametersWith(const Function& other, |
| 1884 Error* bound_error) const; | 1886 Error* bound_error) const; |
| 1885 | 1887 |
| 1886 // Returns true if the type of this function is a subtype of the type of | 1888 // Returns true if the type of this function is a subtype of the type of |
| 1887 // the other function. | 1889 // the other function. |
| (...skipping 5421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7309 | 7311 |
| 7310 | 7312 |
| 7311 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7313 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 7312 intptr_t index) { | 7314 intptr_t index) { |
| 7313 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7315 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 7314 } | 7316 } |
| 7315 | 7317 |
| 7316 } // namespace dart | 7318 } // namespace dart |
| 7317 | 7319 |
| 7318 #endif // VM_OBJECT_H_ | 7320 #endif // VM_OBJECT_H_ |
| OLD | NEW |