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

Side by Side Diff: tools/v8heapconst.py

Issue 22681004: Instance-type-related fixes and cleanup. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback. Rebased. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/objects-printer.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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 17 matching lines...) Expand all
28 # This file is automatically generated from the V8 source and should not 28 # This file is automatically generated from the V8 source and should not
29 # be modified manually, run 'make grokdump' instead to update this file. 29 # be modified manually, run 'make grokdump' instead to update this file.
30 30
31 # List of known V8 instance types. 31 # List of known V8 instance types.
32 INSTANCE_TYPES = { 32 INSTANCE_TYPES = {
33 64: "STRING_TYPE", 33 64: "STRING_TYPE",
34 68: "ASCII_STRING_TYPE", 34 68: "ASCII_STRING_TYPE",
35 65: "CONS_STRING_TYPE", 35 65: "CONS_STRING_TYPE",
36 69: "CONS_ASCII_STRING_TYPE", 36 69: "CONS_ASCII_STRING_TYPE",
37 67: "SLICED_STRING_TYPE", 37 67: "SLICED_STRING_TYPE",
38 71: "SLICED_ASCII_STRING_TYPE",
38 66: "EXTERNAL_STRING_TYPE", 39 66: "EXTERNAL_STRING_TYPE",
39 70: "EXTERNAL_ASCII_STRING_TYPE", 40 70: "EXTERNAL_ASCII_STRING_TYPE",
40 74: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", 41 74: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
41 82: "SHORT_EXTERNAL_STRING_TYPE", 42 82: "SHORT_EXTERNAL_STRING_TYPE",
42 86: "SHORT_EXTERNAL_ASCII_STRING_TYPE", 43 86: "SHORT_EXTERNAL_ASCII_STRING_TYPE",
43 90: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", 44 90: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
44 0: "INTERNALIZED_STRING_TYPE", 45 0: "INTERNALIZED_STRING_TYPE",
45 4: "ASCII_INTERNALIZED_STRING_TYPE", 46 4: "ASCII_INTERNALIZED_STRING_TYPE",
46 1: "CONS_INTERNALIZED_STRING_TYPE", 47 1: "CONS_INTERNALIZED_STRING_TYPE",
47 5: "CONS_ASCII_INTERNALIZED_STRING_TYPE", 48 5: "CONS_ASCII_INTERNALIZED_STRING_TYPE",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 179: "JS_GENERATOR_OBJECT_TYPE", 102 179: "JS_GENERATOR_OBJECT_TYPE",
102 180: "JS_MODULE_TYPE", 103 180: "JS_MODULE_TYPE",
103 181: "JS_GLOBAL_OBJECT_TYPE", 104 181: "JS_GLOBAL_OBJECT_TYPE",
104 182: "JS_BUILTINS_OBJECT_TYPE", 105 182: "JS_BUILTINS_OBJECT_TYPE",
105 183: "JS_GLOBAL_PROXY_TYPE", 106 183: "JS_GLOBAL_PROXY_TYPE",
106 184: "JS_ARRAY_TYPE", 107 184: "JS_ARRAY_TYPE",
107 185: "JS_ARRAY_BUFFER_TYPE", 108 185: "JS_ARRAY_BUFFER_TYPE",
108 186: "JS_TYPED_ARRAY_TYPE", 109 186: "JS_TYPED_ARRAY_TYPE",
109 187: "JS_DATA_VIEW_TYPE", 110 187: "JS_DATA_VIEW_TYPE",
110 174: "JS_PROXY_TYPE", 111 174: "JS_PROXY_TYPE",
112 188: "JS_SET_TYPE",
113 189: "JS_MAP_TYPE",
111 190: "JS_WEAK_MAP_TYPE", 114 190: "JS_WEAK_MAP_TYPE",
112 191: "JS_WEAK_SET_TYPE", 115 191: "JS_WEAK_SET_TYPE",
113 192: "JS_REGEXP_TYPE", 116 192: "JS_REGEXP_TYPE",
114 193: "JS_FUNCTION_TYPE", 117 193: "JS_FUNCTION_TYPE",
115 173: "JS_FUNCTION_PROXY_TYPE", 118 173: "JS_FUNCTION_PROXY_TYPE",
116 168: "DEBUG_INFO_TYPE", 119 168: "DEBUG_INFO_TYPE",
117 169: "BREAK_POINT_INFO_TYPE", 120 169: "BREAK_POINT_INFO_TYPE",
118 } 121 }
119 122
120 # List of known V8 maps. 123 # List of known V8 maps.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ("OLD_POINTER_SPACE", 0x0a9d9): "NonMonomorphicCache", 227 ("OLD_POINTER_SPACE", 0x0a9d9): "NonMonomorphicCache",
225 ("OLD_POINTER_SPACE", 0x0afed): "PolymorphicCodeCache", 228 ("OLD_POINTER_SPACE", 0x0afed): "PolymorphicCodeCache",
226 ("OLD_POINTER_SPACE", 0x0aff5): "NativesSourceCache", 229 ("OLD_POINTER_SPACE", 0x0aff5): "NativesSourceCache",
227 ("OLD_POINTER_SPACE", 0x0b035): "EmptyScript", 230 ("OLD_POINTER_SPACE", 0x0b035): "EmptyScript",
228 ("OLD_POINTER_SPACE", 0x0b06d): "IntrinsicFunctionNames", 231 ("OLD_POINTER_SPACE", 0x0b06d): "IntrinsicFunctionNames",
229 ("OLD_POINTER_SPACE", 0x0e089): "ObservationState", 232 ("OLD_POINTER_SPACE", 0x0e089): "ObservationState",
230 ("OLD_POINTER_SPACE", 0x0e095): "FrozenSymbol", 233 ("OLD_POINTER_SPACE", 0x0e095): "FrozenSymbol",
231 ("OLD_POINTER_SPACE", 0x0e0a1): "ElementsTransitionSymbol", 234 ("OLD_POINTER_SPACE", 0x0e0a1): "ElementsTransitionSymbol",
232 ("OLD_POINTER_SPACE", 0x0e0ad): "EmptySlowElementDictionary", 235 ("OLD_POINTER_SPACE", 0x0e0ad): "EmptySlowElementDictionary",
233 ("OLD_POINTER_SPACE", 0x0e249): "ObservedSymbol", 236 ("OLD_POINTER_SPACE", 0x0e249): "ObservedSymbol",
234 ("OLD_POINTER_SPACE", 0x27585): "StringTable", 237 ("OLD_POINTER_SPACE", 0x274e9): "StringTable",
235 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray", 238 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray",
236 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray", 239 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray",
237 ("OLD_DATA_SPACE", 0x080a9): "NanValue", 240 ("OLD_DATA_SPACE", 0x080a9): "NanValue",
238 ("OLD_DATA_SPACE", 0x08141): "EmptyByteArray", 241 ("OLD_DATA_SPACE", 0x08141): "EmptyByteArray",
239 ("OLD_DATA_SPACE", 0x08269): "EmptyExternalByteArray", 242 ("OLD_DATA_SPACE", 0x08269): "EmptyExternalByteArray",
240 ("OLD_DATA_SPACE", 0x08275): "EmptyExternalUnsignedByteArray", 243 ("OLD_DATA_SPACE", 0x08275): "EmptyExternalUnsignedByteArray",
241 ("OLD_DATA_SPACE", 0x08281): "EmptyExternalShortArray", 244 ("OLD_DATA_SPACE", 0x08281): "EmptyExternalShortArray",
242 ("OLD_DATA_SPACE", 0x0828d): "EmptyExternalUnsignedShortArray", 245 ("OLD_DATA_SPACE", 0x0828d): "EmptyExternalUnsignedShortArray",
243 ("OLD_DATA_SPACE", 0x08299): "EmptyExternalIntArray", 246 ("OLD_DATA_SPACE", 0x08299): "EmptyExternalIntArray",
244 ("OLD_DATA_SPACE", 0x082a5): "EmptyExternalUnsignedIntArray", 247 ("OLD_DATA_SPACE", 0x082a5): "EmptyExternalUnsignedIntArray",
245 ("OLD_DATA_SPACE", 0x082b1): "EmptyExternalFloatArray", 248 ("OLD_DATA_SPACE", 0x082b1): "EmptyExternalFloatArray",
246 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalDoubleArray", 249 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalDoubleArray",
247 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalPixelArray", 250 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalPixelArray",
248 ("OLD_DATA_SPACE", 0x082d5): "InfinityValue", 251 ("OLD_DATA_SPACE", 0x082d5): "InfinityValue",
249 ("OLD_DATA_SPACE", 0x082e1): "MinusZeroValue", 252 ("OLD_DATA_SPACE", 0x082e1): "MinusZeroValue",
250 ("CODE_SPACE", 0x0eb41): "JsConstructEntryCode", 253 ("CODE_SPACE", 0x10d01): "JsConstructEntryCode",
251 ("CODE_SPACE", 0x177a1): "JsEntryCode", 254 ("CODE_SPACE", 0x183c1): "JsEntryCode",
252 } 255 }
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698