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 RUNTIME_VM_OBJECT_H_ | 5 #ifndef RUNTIME_VM_OBJECT_H_ |
6 #define RUNTIME_VM_OBJECT_H_ | 6 #define RUNTIME_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 3799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3810 void AddObject(const Object& obj, const String& name) const; | 3810 void AddObject(const Object& obj, const String& name) const; |
3811 void ReplaceObject(const Object& obj, const String& name) const; | 3811 void ReplaceObject(const Object& obj, const String& name) const; |
3812 RawObject* LookupReExport(const String& name, | 3812 RawObject* LookupReExport(const String& name, |
3813 ZoneGrowableArray<intptr_t>* visited = NULL) const; | 3813 ZoneGrowableArray<intptr_t>* visited = NULL) const; |
3814 RawObject* LookupObjectAllowPrivate(const String& name) const; | 3814 RawObject* LookupObjectAllowPrivate(const String& name) const; |
3815 RawObject* LookupLocalObjectAllowPrivate(const String& name) const; | 3815 RawObject* LookupLocalObjectAllowPrivate(const String& name) const; |
3816 RawObject* LookupLocalObject(const String& name) const; | 3816 RawObject* LookupLocalObject(const String& name) const; |
3817 RawObject* LookupImportedObject(const String& name) const; | 3817 RawObject* LookupImportedObject(const String& name) const; |
3818 RawClass* LookupClass(const String& name) const; | 3818 RawClass* LookupClass(const String& name) const; |
3819 RawClass* LookupClassAllowPrivate(const String& name) const; | 3819 RawClass* LookupClassAllowPrivate(const String& name) const; |
| 3820 RawClass* SlowLookupClassAllowMultiPartPrivate(const String& name) const; |
3820 RawClass* LookupLocalClass(const String& name) const; | 3821 RawClass* LookupLocalClass(const String& name) const; |
3821 RawField* LookupFieldAllowPrivate(const String& name) const; | 3822 RawField* LookupFieldAllowPrivate(const String& name) const; |
3822 RawField* LookupLocalField(const String& name) const; | 3823 RawField* LookupLocalField(const String& name) const; |
3823 RawFunction* LookupFunctionAllowPrivate(const String& name) const; | 3824 RawFunction* LookupFunctionAllowPrivate(const String& name) const; |
3824 RawFunction* LookupLocalFunction(const String& name) const; | 3825 RawFunction* LookupLocalFunction(const String& name) const; |
3825 RawLibraryPrefix* LookupLocalLibraryPrefix(const String& name) const; | 3826 RawLibraryPrefix* LookupLocalLibraryPrefix(const String& name) const; |
3826 RawScript* LookupScript(const String& url) const; | 3827 RawScript* LookupScript(const String& url) const; |
3827 RawArray* LoadedScripts() const; | 3828 RawArray* LoadedScripts() const; |
3828 | 3829 |
3829 // Resolve name in the scope of this library. First check the cache | 3830 // Resolve name in the scope of this library. First check the cache |
(...skipping 5225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9055 | 9056 |
9056 inline void TypeArguments::SetHash(intptr_t value) const { | 9057 inline void TypeArguments::SetHash(intptr_t value) const { |
9057 // This is only safe because we create a new Smi, which does not cause | 9058 // This is only safe because we create a new Smi, which does not cause |
9058 // heap allocation. | 9059 // heap allocation. |
9059 StoreSmi(&raw_ptr()->hash_, Smi::New(value)); | 9060 StoreSmi(&raw_ptr()->hash_, Smi::New(value)); |
9060 } | 9061 } |
9061 | 9062 |
9062 } // namespace dart | 9063 } // namespace dart |
9063 | 9064 |
9064 #endif // RUNTIME_VM_OBJECT_H_ | 9065 #endif // RUNTIME_VM_OBJECT_H_ |
OLD | NEW |