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

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

Issue 9420038: Heartbeat implementation of dart:mirrors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/native_arguments.h ('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 1790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1801 RawLibrary* next_registered() const { return raw_ptr()->next_registered_; } 1801 RawLibrary* next_registered() const { return raw_ptr()->next_registered_; }
1802 1802
1803 RawString* DuplicateDefineErrorString(const String& entry_name, 1803 RawString* DuplicateDefineErrorString(const String& entry_name,
1804 const Library& conflicting_lib) const; 1804 const Library& conflicting_lib) const;
1805 static RawLibrary* LookupLibrary(const String& url); 1805 static RawLibrary* LookupLibrary(const String& url);
1806 static RawString* CheckForDuplicateDefinition(); 1806 static RawString* CheckForDuplicateDefinition();
1807 static bool IsKeyUsed(intptr_t key); 1807 static bool IsKeyUsed(intptr_t key);
1808 1808
1809 static void InitCoreLibrary(Isolate* isolate); 1809 static void InitCoreLibrary(Isolate* isolate);
1810 static void InitIsolateLibrary(Isolate* isolate); 1810 static void InitIsolateLibrary(Isolate* isolate);
1811 static void InitMirrorsLibrary(Isolate* isolate);
1811 static RawLibrary* CoreLibrary(); 1812 static RawLibrary* CoreLibrary();
1812 static RawLibrary* CoreImplLibrary(); 1813 static RawLibrary* CoreImplLibrary();
1813 static RawLibrary* IsolateLibrary(); 1814 static RawLibrary* IsolateLibrary();
1815 static RawLibrary* MirrorsLibrary();
1814 static void InitNativeWrappersLibrary(Isolate* isolate); 1816 static void InitNativeWrappersLibrary(Isolate* isolate);
1815 static RawLibrary* NativeWrappersLibrary(); 1817 static RawLibrary* NativeWrappersLibrary();
1816 1818
1817 // Eagerly compile all classes and functions in the library. 1819 // Eagerly compile all classes and functions in the library.
1818 static RawError* CompileAll(); 1820 static RawError* CompileAll();
1819 1821
1820 private: 1822 private:
1821 static const int kInitialImportsCapacity = 4; 1823 static const int kInitialImportsCapacity = 4;
1822 static const int kImportsCapacityIncrement = 8; 1824 static const int kImportsCapacityIncrement = 8;
1823 static const int kInitialImportedIntoCapacity = 1; 1825 static const int kInitialImportedIntoCapacity = 1;
(...skipping 2008 matching lines...) Expand 10 before | Expand all | Expand 10 after
3832 } 3834 }
3833 3835
3834 3836
3835 void Context::SetAt(intptr_t index, const Instance& value) const { 3837 void Context::SetAt(intptr_t index, const Instance& value) const {
3836 StorePointer(InstanceAddr(index), value.raw()); 3838 StorePointer(InstanceAddr(index), value.raw());
3837 } 3839 }
3838 3840
3839 } // namespace dart 3841 } // namespace dart
3840 3842
3841 #endif // VM_OBJECT_H_ 3843 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_arguments.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698