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

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

Issue 27523002: Add "deprecated" to the standard library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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_STORE_H_ 5 #ifndef VM_OBJECT_STORE_H_
6 #define VM_OBJECT_STORE_H_ 6 #define VM_OBJECT_STORE_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 // Forward declarations. 12 // Forward declarations.
13 class Isolate; 13 class Isolate;
14 class ObjectPointerVisitor; 14 class ObjectPointerVisitor;
15 15
16 // The object store is a per isolate instance which stores references to 16 // The object store is a per isolate instance which stores references to
17 // objects used by the VM. 17 // objects used by the VM.
18 // TODO(iposva): Move the actual store into the object heap for quick handling 18 // TODO(iposva): Move the actual store into the object heap for quick handling
19 // by snapshots eventually. 19 // by snapshots eventually.
20 class ObjectStore { 20 class ObjectStore {
21 public: 21 public:
22 enum { 22 enum {
23 kNone = 0, 23 kNone = 0,
24 kAnnotation,
24 kAsync, 25 kAsync,
25 kCore, 26 kCore,
26 kCollection, 27 kCollection,
27 kCollectionDev, 28 kCollectionDev,
28 kConvert, 29 kConvert,
29 kIsolate, 30 kIsolate,
30 kJson, 31 kJson,
31 kMath, 32 kMath,
32 kMirrors, 33 kMirrors,
33 kTypedData, 34 kTypedData,
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 504 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
504 505
505 friend class SnapshotReader; 506 friend class SnapshotReader;
506 507
507 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 508 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
508 }; 509 };
509 510
510 } // namespace dart 511 } // namespace dart
511 512
512 #endif // VM_OBJECT_STORE_H_ 513 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698