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

Side by Side Diff: tools/v8heapconst.py

Issue 561743002: Also rename ascii to one-byte in tool scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/parser-shell.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 13 matching lines...) Expand all
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
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: "ONE_BYTE_STRING_TYPE",
35 65: "CONS_STRING_TYPE", 35 65: "CONS_STRING_TYPE",
36 69: "CONS_ASCII_STRING_TYPE", 36 69: "CONS_ONE_BYTE_STRING_TYPE",
37 67: "SLICED_STRING_TYPE", 37 67: "SLICED_STRING_TYPE",
38 71: "SLICED_ASCII_STRING_TYPE", 38 71: "SLICED_ONE_BYTE_STRING_TYPE",
39 66: "EXTERNAL_STRING_TYPE", 39 66: "EXTERNAL_STRING_TYPE",
40 70: "EXTERNAL_ASCII_STRING_TYPE", 40 70: "EXTERNAL_ONE_BYTE_STRING_TYPE",
41 74: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", 41 74: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
42 82: "SHORT_EXTERNAL_STRING_TYPE", 42 82: "SHORT_EXTERNAL_STRING_TYPE",
43 86: "SHORT_EXTERNAL_ASCII_STRING_TYPE", 43 86: "SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE",
44 90: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", 44 90: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
45 0: "INTERNALIZED_STRING_TYPE", 45 0: "INTERNALIZED_STRING_TYPE",
46 4: "ASCII_INTERNALIZED_STRING_TYPE", 46 4: "ONE_BYTE_INTERNALIZED_STRING_TYPE",
47 1: "CONS_INTERNALIZED_STRING_TYPE", 47 1: "CONS_INTERNALIZED_STRING_TYPE",
48 5: "CONS_ASCII_INTERNALIZED_STRING_TYPE", 48 5: "CONS_ONE_BYTE_INTERNALIZED_STRING_TYPE",
49 2: "EXTERNAL_INTERNALIZED_STRING_TYPE", 49 2: "EXTERNAL_INTERNALIZED_STRING_TYPE",
50 6: "EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE", 50 6: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
51 10: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", 51 10: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
52 18: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE", 52 18: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE",
53 22: "SHORT_EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE", 53 22: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
54 26: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", 54 26: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
55 128: "SYMBOL_TYPE", 55 128: "SYMBOL_TYPE",
56 129: "MAP_TYPE", 56 129: "MAP_TYPE",
57 130: "CODE_TYPE", 57 130: "CODE_TYPE",
58 131: "ODDBALL_TYPE", 58 131: "ODDBALL_TYPE",
59 132: "CELL_TYPE", 59 132: "CELL_TYPE",
60 133: "PROPERTY_CELL_TYPE", 60 133: "PROPERTY_CELL_TYPE",
61 134: "HEAP_NUMBER_TYPE", 61 134: "HEAP_NUMBER_TYPE",
62 135: "FOREIGN_TYPE", 62 135: "FOREIGN_TYPE",
63 136: "BYTE_ARRAY_TYPE", 63 136: "BYTE_ARRAY_TYPE",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 183: "JS_FUNCTION_PROXY_TYPE", 128 183: "JS_FUNCTION_PROXY_TYPE",
129 177: "DEBUG_INFO_TYPE", 129 177: "DEBUG_INFO_TYPE",
130 178: "BREAK_POINT_INFO_TYPE", 130 178: "BREAK_POINT_INFO_TYPE",
131 } 131 }
132 132
133 # List of known V8 maps. 133 # List of known V8 maps.
134 KNOWN_MAPS = { 134 KNOWN_MAPS = {
135 0x08081: (136, "ByteArrayMap"), 135 0x08081: (136, "ByteArrayMap"),
136 0x080a9: (129, "MetaMap"), 136 0x080a9: (129, "MetaMap"),
137 0x080d1: (131, "OddballMap"), 137 0x080d1: (131, "OddballMap"),
138 0x080f9: (4, "AsciiInternalizedStringMap"), 138 0x080f9: (4, "OneByteInternalizedStringMap"),
139 0x08121: (179, "FixedArrayMap"), 139 0x08121: (179, "FixedArrayMap"),
140 0x08149: (134, "HeapNumberMap"), 140 0x08149: (134, "HeapNumberMap"),
141 0x08171: (137, "FreeSpaceMap"), 141 0x08171: (137, "FreeSpaceMap"),
142 0x08199: (157, "OnePointerFillerMap"), 142 0x08199: (157, "OnePointerFillerMap"),
143 0x081c1: (157, "TwoPointerFillerMap"), 143 0x081c1: (157, "TwoPointerFillerMap"),
144 0x081e9: (132, "CellMap"), 144 0x081e9: (132, "CellMap"),
145 0x08211: (133, "GlobalPropertyCellMap"), 145 0x08211: (133, "GlobalPropertyCellMap"),
146 0x08239: (181, "SharedFunctionInfoMap"), 146 0x08239: (181, "SharedFunctionInfoMap"),
147 0x08261: (179, "NativeContextMap"), 147 0x08261: (179, "NativeContextMap"),
148 0x08289: (130, "CodeMap"), 148 0x08289: (130, "CodeMap"),
149 0x082b1: (179, "ScopeInfoMap"), 149 0x082b1: (179, "ScopeInfoMap"),
150 0x082d9: (179, "FixedCOWArrayMap"), 150 0x082d9: (179, "FixedCOWArrayMap"),
151 0x08301: (156, "FixedDoubleArrayMap"), 151 0x08301: (156, "FixedDoubleArrayMap"),
152 0x08329: (180, "ConstantPoolArrayMap"), 152 0x08329: (180, "ConstantPoolArrayMap"),
153 0x08351: (179, "HashTableMap"), 153 0x08351: (179, "HashTableMap"),
154 0x08379: (128, "SymbolMap"), 154 0x08379: (128, "SymbolMap"),
155 0x083a1: (64, "StringMap"), 155 0x083a1: (64, "StringMap"),
156 0x083c9: (68, "AsciiStringMap"), 156 0x083c9: (68, "OneByteStringMap"),
157 0x083f1: (65, "ConsStringMap"), 157 0x083f1: (65, "ConsStringMap"),
158 0x08419: (69, "ConsAsciiStringMap"), 158 0x08419: (69, "ConsOneByteStringMap"),
159 0x08441: (67, "SlicedStringMap"), 159 0x08441: (67, "SlicedStringMap"),
160 0x08469: (71, "SlicedAsciiStringMap"), 160 0x08469: (71, "SlicedOneByteStringMap"),
161 0x08491: (66, "ExternalStringMap"), 161 0x08491: (66, "ExternalStringMap"),
162 0x084b9: (74, "ExternalStringWithOneByteDataMap"), 162 0x084b9: (74, "ExternalStringWithOneByteDataMap"),
163 0x084e1: (70, "ExternalAsciiStringMap"), 163 0x084e1: (70, "ExternalOneByteStringMap"),
164 0x08509: (82, "ShortExternalStringMap"), 164 0x08509: (82, "ShortExternalStringMap"),
165 0x08531: (90, "ShortExternalStringWithOneByteDataMap"), 165 0x08531: (90, "ShortExternalStringWithOneByteDataMap"),
166 0x08559: (0, "InternalizedStringMap"), 166 0x08559: (0, "InternalizedStringMap"),
167 0x08581: (1, "ConsInternalizedStringMap"), 167 0x08581: (1, "ConsInternalizedStringMap"),
168 0x085a9: (5, "ConsAsciiInternalizedStringMap"), 168 0x085a9: (5, "ConsOneByteInternalizedStringMap"),
169 0x085d1: (2, "ExternalInternalizedStringMap"), 169 0x085d1: (2, "ExternalInternalizedStringMap"),
170 0x085f9: (10, "ExternalInternalizedStringWithOneByteDataMap"), 170 0x085f9: (10, "ExternalInternalizedStringWithOneByteDataMap"),
171 0x08621: (6, "ExternalAsciiInternalizedStringMap"), 171 0x08621: (6, "ExternalOneByteInternalizedStringMap"),
172 0x08649: (18, "ShortExternalInternalizedStringMap"), 172 0x08649: (18, "ShortExternalInternalizedStringMap"),
173 0x08671: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), 173 0x08671: (26, "ShortExternalInternalizedStringWithOneByteDataMap"),
174 0x08699: (22, "ShortExternalAsciiInternalizedStringMap"), 174 0x08699: (22, "ShortExternalOneByteInternalizedStringMap"),
175 0x086c1: (86, "ShortExternalAsciiStringMap"), 175 0x086c1: (86, "ShortExternalOneByteStringMap"),
176 0x086e9: (64, "UndetectableStringMap"), 176 0x086e9: (64, "UndetectableStringMap"),
177 0x08711: (68, "UndetectableAsciiStringMap"), 177 0x08711: (68, "UndetectableOneByteStringMap"),
178 0x08739: (138, "ExternalInt8ArrayMap"), 178 0x08739: (138, "ExternalInt8ArrayMap"),
179 0x08761: (139, "ExternalUint8ArrayMap"), 179 0x08761: (139, "ExternalUint8ArrayMap"),
180 0x08789: (140, "ExternalInt16ArrayMap"), 180 0x08789: (140, "ExternalInt16ArrayMap"),
181 0x087b1: (141, "ExternalUint16ArrayMap"), 181 0x087b1: (141, "ExternalUint16ArrayMap"),
182 0x087d9: (142, "ExternalInt32ArrayMap"), 182 0x087d9: (142, "ExternalInt32ArrayMap"),
183 0x08801: (143, "ExternalUint32ArrayMap"), 183 0x08801: (143, "ExternalUint32ArrayMap"),
184 0x08829: (144, "ExternalFloat32ArrayMap"), 184 0x08829: (144, "ExternalFloat32ArrayMap"),
185 0x08851: (145, "ExternalFloat64ArrayMap"), 185 0x08851: (145, "ExternalFloat64ArrayMap"),
186 0x08879: (146, "ExternalUint8ClampedArrayMap"), 186 0x08879: (146, "ExternalUint8ClampedArrayMap"),
187 0x088a1: (148, "FixedUint8ArrayMap"), 187 0x088a1: (148, "FixedUint8ArrayMap"),
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalInt32Array", 272 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalInt32Array",
273 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalUint32Array", 273 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalUint32Array",
274 ("OLD_DATA_SPACE", 0x082d5): "EmptyExternalFloat32Array", 274 ("OLD_DATA_SPACE", 0x082d5): "EmptyExternalFloat32Array",
275 ("OLD_DATA_SPACE", 0x082e1): "EmptyExternalFloat64Array", 275 ("OLD_DATA_SPACE", 0x082e1): "EmptyExternalFloat64Array",
276 ("OLD_DATA_SPACE", 0x082ed): "EmptyExternalUint8ClampedArray", 276 ("OLD_DATA_SPACE", 0x082ed): "EmptyExternalUint8ClampedArray",
277 ("OLD_DATA_SPACE", 0x082f9): "InfinityValue", 277 ("OLD_DATA_SPACE", 0x082f9): "InfinityValue",
278 ("OLD_DATA_SPACE", 0x08305): "MinusZeroValue", 278 ("OLD_DATA_SPACE", 0x08305): "MinusZeroValue",
279 ("CODE_SPACE", 0x138e1): "JsConstructEntryCode", 279 ("CODE_SPACE", 0x138e1): "JsConstructEntryCode",
280 ("CODE_SPACE", 0x21361): "JsEntryCode", 280 ("CODE_SPACE", 0x21361): "JsEntryCode",
281 } 281 }
OLDNEW
« no previous file with comments | « tools/parser-shell.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698