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

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, 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/isolate_test.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 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 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 1741
1742 RawLibrary* next_registered() const { return raw_ptr()->next_registered_; } 1742 RawLibrary* next_registered() const { return raw_ptr()->next_registered_; }
1743 1743
1744 RawString* DuplicateDefineErrorString(const String& entry_name, 1744 RawString* DuplicateDefineErrorString(const String& entry_name,
1745 const Library& conflicting_lib) const; 1745 const Library& conflicting_lib) const;
1746 static RawLibrary* LookupLibrary(const String& url); 1746 static RawLibrary* LookupLibrary(const String& url);
1747 static RawString* CheckForDuplicateDefinition(); 1747 static RawString* CheckForDuplicateDefinition();
1748 static bool IsKeyUsed(intptr_t key); 1748 static bool IsKeyUsed(intptr_t key);
1749 1749
1750 static void InitCoreLibrary(Isolate* isolate); 1750 static void InitCoreLibrary(Isolate* isolate);
1751 static void InitIsolateLibrary(Isolate* isolate);
1751 static RawLibrary* CoreLibrary(); 1752 static RawLibrary* CoreLibrary();
1752 static RawLibrary* CoreImplLibrary(); 1753 static RawLibrary* CoreImplLibrary();
1754 static RawLibrary* IsolateLibrary();
1753 static void InitNativeWrappersLibrary(Isolate* isolate); 1755 static void InitNativeWrappersLibrary(Isolate* isolate);
1754 static RawLibrary* NativeWrappersLibrary(); 1756 static RawLibrary* NativeWrappersLibrary();
1755 1757
1756 // Eagerly compile all classes and functions in the library. 1758 // Eagerly compile all classes and functions in the library.
1757 static RawError* CompileAll(); 1759 static RawError* CompileAll();
1758 1760
1759 private: 1761 private:
1760 static const int kInitialImportsCapacity = 4; 1762 static const int kInitialImportsCapacity = 4;
1761 static const int kImportsCapacityIncrement = 8; 1763 static const int kImportsCapacityIncrement = 8;
1762 static const int kInitialImportedIntoCapacity = 1; 1764 static const int kInitialImportedIntoCapacity = 1;
(...skipping 1980 matching lines...) Expand 10 before | Expand all | Expand 10 after
3743 } 3745 }
3744 3746
3745 3747
3746 void Context::SetAt(intptr_t index, const Instance& value) const { 3748 void Context::SetAt(intptr_t index, const Instance& value) const {
3747 StorePointer(InstanceAddr(index), value.raw()); 3749 StorePointer(InstanceAddr(index), value.raw());
3748 } 3750 }
3749 3751
3750 } // namespace dart 3752 } // namespace dart
3751 3753
3752 #endif // VM_OBJECT_H_ 3754 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/isolate_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698