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

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

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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
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 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 1740
1741 RawString* DuplicateDefineErrorString(const String& entry_name, 1741 RawString* DuplicateDefineErrorString(const String& entry_name,
1742 const Library& conflicting_lib) const; 1742 const Library& conflicting_lib) const;
1743 static RawLibrary* LookupLibrary(const String& url); 1743 static RawLibrary* LookupLibrary(const String& url);
1744 static RawString* CheckForDuplicateDefinition(); 1744 static RawString* CheckForDuplicateDefinition();
1745 static bool IsKeyUsed(intptr_t key); 1745 static bool IsKeyUsed(intptr_t key);
1746 1746
1747 static void InitCoreLibrary(Isolate* isolate); 1747 static void InitCoreLibrary(Isolate* isolate);
1748 static RawLibrary* CoreLibrary(); 1748 static RawLibrary* CoreLibrary();
1749 static RawLibrary* CoreImplLibrary(); 1749 static RawLibrary* CoreImplLibrary();
1750 static RawLibrary* IsolateLibrary();
1750 static void InitNativeWrappersLibrary(Isolate* isolate); 1751 static void InitNativeWrappersLibrary(Isolate* isolate);
1751 static RawLibrary* NativeWrappersLibrary(); 1752 static RawLibrary* NativeWrappersLibrary();
1752 1753
1753 // Eagerly compile all classes and functions in the library. 1754 // Eagerly compile all classes and functions in the library.
1754 static RawError* CompileAll(); 1755 static RawError* CompileAll();
1755 1756
1756 private: 1757 private:
1757 static const int kInitialImportsCapacity = 4; 1758 static const int kInitialImportsCapacity = 4;
1758 static const int kImportsCapacityIncrement = 8; 1759 static const int kImportsCapacityIncrement = 8;
1759 static const int kInitialImportedIntoCapacity = 1; 1760 static const int kInitialImportedIntoCapacity = 1;
(...skipping 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after
3670 } 3671 }
3671 3672
3672 3673
3673 void Context::SetAt(intptr_t index, const Instance& value) const { 3674 void Context::SetAt(intptr_t index, const Instance& value) const {
3674 StorePointer(InstanceAddr(index), value.raw()); 3675 StorePointer(InstanceAddr(index), value.raw());
3675 } 3676 }
3676 3677
3677 } // namespace dart 3678 } // namespace dart
3678 3679
3679 #endif // VM_OBJECT_H_ 3680 #endif // VM_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698