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

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

Issue 1290933002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
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_SNAPSHOT_IDS_H_ 5 #ifndef VM_SNAPSHOT_IDS_H_
6 #define VM_SNAPSHOT_IDS_H_ 6 #define VM_SNAPSHOT_IDS_H_
7 7
8 #include "vm/raw_object.h" 8 #include "vm/raw_object.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 // Index for predefined singleton objects used in a snapshot. 12 // Index for predefined singleton objects used in a snapshot.
13 enum { 13 enum {
14 kNullObject = 0, 14 kNullObject = 0,
15 kSentinelObject, 15 kSentinelObject,
16 kTransitionSentinelObject,
rmacnak 2015/08/13 00:56:22 Referenced from field initializer functions.
16 kEmptyArrayObject, 17 kEmptyArrayObject,
17 kZeroArrayObject, 18 kZeroArrayObject,
18 kTrueValue, 19 kTrueValue,
19 kFalseValue, 20 kFalseValue,
20 // Marker for special encoding of double objects in message snapshots. 21 // Marker for special encoding of double objects in message snapshots.
21 kDoubleObject, 22 kDoubleObject,
22 // Object id has been optimized away; reader should use next available id. 23 // Object id has been optimized away; reader should use next available id.
23 kOmittedObjectId, 24 kOmittedObjectId,
24 25
25 kClassIdsOffset = kOmittedObjectId, 26 kClassIdsOffset = kOmittedObjectId,
(...skipping 17 matching lines...) Expand all
43 44
44 kInstanceObjectId, 45 kInstanceObjectId,
45 kStaticImplicitClosureObjectId, 46 kStaticImplicitClosureObjectId,
46 kMaxPredefinedObjectIds, 47 kMaxPredefinedObjectIds,
47 kInvalidIndex = -1, 48 kInvalidIndex = -1,
48 }; 49 };
49 50
50 } // namespace dart 51 } // namespace dart
51 52
52 #endif // VM_SNAPSHOT_IDS_H_ 53 #endif // VM_SNAPSHOT_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698