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

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

Issue 2922913004: Add Dart_Save/LoadCompilationTrace. (Closed)
Patch Set: . Created 3 years, 6 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/dart_api_impl.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 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
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698