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

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

Issue 1337083004: - Turn on writing of ic_data_array so that we have that information for script snapshots that would… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code-review-comments Created 5 years, 3 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
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | no next file » | 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_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 #include "vm/dart_entry.h"
9 10
10 namespace dart { 11 namespace dart {
11 12
12 // Index for predefined singleton objects used in a snapshot. 13 // Index for predefined singleton objects used in a snapshot.
13 enum { 14 enum {
14 kNullObject = 0, 15 kNullObject = 0,
15 kSentinelObject, 16 kSentinelObject,
16 kTransitionSentinelObject, 17 kTransitionSentinelObject,
17 kEmptyArrayObject, 18 kEmptyArrayObject,
18 kZeroArrayObject, 19 kZeroArrayObject,
(...skipping 20 matching lines...) Expand all
39 kDoubleType, 40 kDoubleType,
40 kIntType, 41 kIntType,
41 kBoolType, 42 kBoolType,
42 kStringType, 43 kStringType,
43 kArrayType, 44 kArrayType,
44 45
45 kExtractorParameterTypes, 46 kExtractorParameterTypes,
46 kExtractorParameterNames, 47 kExtractorParameterNames,
47 kEmptyContextScopeObject, 48 kEmptyContextScopeObject,
48 kImplicitClosureScopeObject, 49 kImplicitClosureScopeObject,
50 kEmptyObjectPool,
51 kEmptyDescriptors,
52 kEmptyVarDescriptors,
53 kEmptyExceptionHandlers,
54 kCachedArgumentsDescriptor0,
55 kCachedArgumentsDescriptorN = (kCachedArgumentsDescriptor0 +
56 ArgumentsDescriptor::kCachedDescriptorCount - 1),
49 57
50 kInstanceObjectId, 58 kInstanceObjectId,
51 kStaticImplicitClosureObjectId, 59 kStaticImplicitClosureObjectId,
52 kMaxPredefinedObjectIds, 60 kMaxPredefinedObjectIds,
53 kInvalidIndex = -1, 61 kInvalidIndex = -1,
54 }; 62 };
55 63
56 } // namespace dart 64 } // namespace dart
57 65
58 #endif // VM_SNAPSHOT_IDS_H_ 66 #endif // VM_SNAPSHOT_IDS_H_
OLDNEW
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698