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

Side by Side Diff: tools/v8heapconst.py

Issue 176843003: Add StackOverflowError and expose error type to api. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix test Created 6 years, 9 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 | « test/cctest/test-api.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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, "AsciiInternalizedStringMap"),
139 0x08121: (179, "FixedArrayMap"), 139 0x08121: (179, "FixedArrayMap"),
140 0x08149: (134, "HeapNumberMap"), 140 0x08149: (134, "HeapNumberMap"),
141 0x08171: (130, "CodeMap"), 141 0x08171: (137, "FreeSpaceMap"),
142 0x08199: (180, "ConstantPoolArrayMap"), 142 0x08199: (157, "OnePointerFillerMap"),
143 0x081c1: (137, "FreeSpaceMap"), 143 0x081c1: (157, "TwoPointerFillerMap"),
144 0x081e9: (157, "OnePointerFillerMap"), 144 0x081e9: (132, "CellMap"),
145 0x08211: (157, "TwoPointerFillerMap"), 145 0x08211: (133, "GlobalPropertyCellMap"),
146 0x08239: (132, "CellMap"), 146 0x08239: (181, "SharedFunctionInfoMap"),
147 0x08261: (133, "GlobalPropertyCellMap"), 147 0x08261: (179, "NativeContextMap"),
148 0x08289: (181, "SharedFunctionInfoMap"), 148 0x08289: (130, "CodeMap"),
149 0x082b1: (179, "NativeContextMap"), 149 0x082b1: (179, "ScopeInfoMap"),
150 0x082d9: (179, "ScopeInfoMap"), 150 0x082d9: (179, "FixedCOWArrayMap"),
151 0x08301: (179, "FixedCOWArrayMap"), 151 0x08301: (156, "FixedDoubleArrayMap"),
152 0x08329: (156, "FixedDoubleArrayMap"), 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, "AsciiStringMap"),
157 0x083f1: (65, "ConsStringMap"), 157 0x083f1: (65, "ConsStringMap"),
158 0x08419: (69, "ConsAsciiStringMap"), 158 0x08419: (69, "ConsAsciiStringMap"),
159 0x08441: (67, "SlicedStringMap"), 159 0x08441: (67, "SlicedStringMap"),
160 0x08469: (71, "SlicedAsciiStringMap"), 160 0x08469: (71, "SlicedAsciiStringMap"),
161 0x08491: (66, "ExternalStringMap"), 161 0x08491: (66, "ExternalStringMap"),
162 0x084b9: (74, "ExternalStringWithOneByteDataMap"), 162 0x084b9: (74, "ExternalStringWithOneByteDataMap"),
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 0x08a09: (179, "NonStrictArgumentsElementsMap"), 196 0x08a09: (179, "NonStrictArgumentsElementsMap"),
197 0x08a31: (179, "FunctionContextMap"), 197 0x08a31: (179, "FunctionContextMap"),
198 0x08a59: (179, "CatchContextMap"), 198 0x08a59: (179, "CatchContextMap"),
199 0x08a81: (179, "WithContextMap"), 199 0x08a81: (179, "WithContextMap"),
200 0x08aa9: (179, "BlockContextMap"), 200 0x08aa9: (179, "BlockContextMap"),
201 0x08ad1: (179, "ModuleContextMap"), 201 0x08ad1: (179, "ModuleContextMap"),
202 0x08af9: (179, "GlobalContextMap"), 202 0x08af9: (179, "GlobalContextMap"),
203 0x08b21: (182, "JSMessageObjectMap"), 203 0x08b21: (182, "JSMessageObjectMap"),
204 0x08b49: (135, "ForeignMap"), 204 0x08b49: (135, "ForeignMap"),
205 0x08b71: (187, "NeanderMap"), 205 0x08b71: (187, "NeanderMap"),
206 0x08b99: (170, "AllocationMementoMap"), 206 0x08b99: (169, "AllocationSiteMap"),
207 0x08bc1: (169, "AllocationSiteMap"), 207 0x08bc1: (170, "AllocationMementoMap"),
208 0x08be9: (173, "PolymorphicCodeCacheMap"), 208 0x08be9: (173, "PolymorphicCodeCacheMap"),
209 0x08c11: (171, "ScriptMap"), 209 0x08c11: (171, "ScriptMap"),
210 0x08c61: (187, "ExternalMap"), 210 0x08c61: (187, "ExternalMap"),
211 0x08cb1: (176, "BoxMap"), 211 0x08cb1: (176, "BoxMap"),
212 0x08cd9: (158, "DeclaredAccessorDescriptorMap"), 212 0x08cd9: (158, "DeclaredAccessorDescriptorMap"),
213 0x08d01: (159, "DeclaredAccessorInfoMap"), 213 0x08d01: (159, "DeclaredAccessorInfoMap"),
214 0x08d29: (160, "ExecutableAccessorInfoMap"), 214 0x08d29: (160, "ExecutableAccessorInfoMap"),
215 0x08d51: (161, "AccessorPairMap"), 215 0x08d51: (161, "AccessorPairMap"),
216 0x08d79: (162, "AccessCheckInfoMap"), 216 0x08d79: (162, "AccessCheckInfoMap"),
217 0x08da1: (163, "InterceptorInfoMap"), 217 0x08da1: (163, "InterceptorInfoMap"),
218 0x08dc9: (164, "CallHandlerInfoMap"), 218 0x08dc9: (164, "CallHandlerInfoMap"),
219 0x08df1: (165, "FunctionTemplateInfoMap"), 219 0x08df1: (165, "FunctionTemplateInfoMap"),
220 0x08e19: (166, "ObjectTemplateInfoMap"), 220 0x08e19: (166, "ObjectTemplateInfoMap"),
221 0x08e41: (167, "SignatureInfoMap"), 221 0x08e41: (167, "SignatureInfoMap"),
222 0x08e69: (168, "TypeSwitchInfoMap"), 222 0x08e69: (168, "TypeSwitchInfoMap"),
223 0x08e91: (172, "CodeCacheMap"), 223 0x08e91: (172, "CodeCacheMap"),
224 0x08eb9: (174, "TypeFeedbackInfoMap"), 224 0x08eb9: (174, "TypeFeedbackInfoMap"),
225 0x08ee1: (175, "AliasedArgumentsEntryMap"), 225 0x08ee1: (175, "AliasedArgumentsEntryMap"),
226 0x08f09: (177, "DebugInfoMap"), 226 0x08f09: (177, "DebugInfoMap"),
227 0x08f31: (178, "BreakPointInfoMap"), 227 0x08f31: (178, "BreakPointInfoMap"),
228 } 228 }
229 229
230 # List of known V8 objects. 230 # List of known V8 objects.
231 KNOWN_OBJECTS = { 231 KNOWN_OBJECTS = {
232 ("OLD_POINTER_SPACE", 0x08081): "NullValue", 232 ("OLD_POINTER_SPACE", 0x08081): "NullValue",
233 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", 233 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue",
234 ("OLD_POINTER_SPACE", 0x08111): "TheHoleValue", 234 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue",
235 ("OLD_POINTER_SPACE", 0x08121): "TerminationException", 235 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue",
236 ("OLD_POINTER_SPACE", 0x08131): "TrueValue", 236 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue",
237 ("OLD_POINTER_SPACE", 0x08141): "FalseValue", 237 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue",
238 ("OLD_POINTER_SPACE", 0x081c1): "UninitializedValue", 238 ("OLD_POINTER_SPACE", 0x080e1): "NoInterceptorResultSentinel",
239 ("OLD_POINTER_SPACE", 0x081d1): "NoInterceptorResultSentinel", 239 ("OLD_POINTER_SPACE", 0x080f1): "ArgumentsMarker",
240 ("OLD_POINTER_SPACE", 0x081e1): "ArgumentsMarker", 240 ("OLD_POINTER_SPACE", 0x08101): "NumberStringCache",
241 ("OLD_POINTER_SPACE", 0x081f1): "NumberStringCache", 241 ("OLD_POINTER_SPACE", 0x08909): "SingleCharacterStringCache",
242 ("OLD_POINTER_SPACE", 0x089f9): "SingleCharacterStringCache", 242 ("OLD_POINTER_SPACE", 0x08d11): "StringSplitCache",
243 ("OLD_POINTER_SPACE", 0x08e01): "StringSplitCache", 243 ("OLD_POINTER_SPACE", 0x09119): "RegExpMultipleCache",
244 ("OLD_POINTER_SPACE", 0x09209): "RegExpMultipleCache", 244 ("OLD_POINTER_SPACE", 0x09521): "TerminationException",
245 ("OLD_POINTER_SPACE", 0x09611): "MessageListeners", 245 ("OLD_POINTER_SPACE", 0x09531): "MessageListeners",
246 ("OLD_POINTER_SPACE", 0x0962d): "CodeStubs", 246 ("OLD_POINTER_SPACE", 0x0954d): "CodeStubs",
247 ("OLD_POINTER_SPACE", 0x10789): "NonMonomorphicCache", 247 ("OLD_POINTER_SPACE", 0x10669): "NonMonomorphicCache",
248 ("OLD_POINTER_SPACE", 0x10d9d): "PolymorphicCodeCache", 248 ("OLD_POINTER_SPACE", 0x10c7d): "PolymorphicCodeCache",
249 ("OLD_POINTER_SPACE", 0x10da5): "NativesSourceCache", 249 ("OLD_POINTER_SPACE", 0x10c85): "NativesSourceCache",
250 ("OLD_POINTER_SPACE", 0x10df1): "EmptyScript", 250 ("OLD_POINTER_SPACE", 0x10cd1): "EmptyScript",
251 ("OLD_POINTER_SPACE", 0x10e29): "IntrinsicFunctionNames", 251 ("OLD_POINTER_SPACE", 0x10d09): "IntrinsicFunctionNames",
252 ("OLD_POINTER_SPACE", 0x13e45): "ObservationState", 252 ("OLD_POINTER_SPACE", 0x13d25): "ObservationState",
253 ("OLD_POINTER_SPACE", 0x13e51): "FrozenSymbol", 253 ("OLD_POINTER_SPACE", 0x13d31): "FrozenSymbol",
254 ("OLD_POINTER_SPACE", 0x13e61): "ElementsTransitionSymbol", 254 ("OLD_POINTER_SPACE", 0x13d41): "ElementsTransitionSymbol",
255 ("OLD_POINTER_SPACE", 0x13e71): "EmptySlowElementDictionary", 255 ("OLD_POINTER_SPACE", 0x13d51): "EmptySlowElementDictionary",
256 ("OLD_POINTER_SPACE", 0x1400d): "ObservedSymbol", 256 ("OLD_POINTER_SPACE", 0x13eed): "ObservedSymbol",
257 ("OLD_POINTER_SPACE", 0x1401d): "AllocationSitesScratchpad", 257 ("OLD_POINTER_SPACE", 0x13efd): "AllocationSitesScratchpad",
258 ("OLD_POINTER_SPACE", 0x14425): "MicrotaskState", 258 ("OLD_POINTER_SPACE", 0x14305): "MicrotaskState",
259 ("OLD_POINTER_SPACE", 0x32c25): "StringTable", 259 ("OLD_POINTER_SPACE", 0x14311): "ErrorType",
260 ("OLD_POINTER_SPACE", 0x32c49): "StringTable",
260 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray", 261 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray",
261 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray", 262 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray",
262 ("OLD_DATA_SPACE", 0x080a9): "NanValue", 263 ("OLD_DATA_SPACE", 0x080a9): "NanValue",
263 ("OLD_DATA_SPACE", 0x080e5): "EmptyConstantPoolArray", 264 ("OLD_DATA_SPACE", 0x08141): "EmptyByteArray",
264 ("OLD_DATA_SPACE", 0x08235): "EmptyByteArray", 265 ("OLD_DATA_SPACE", 0x08149): "EmptyConstantPoolArray",
265 ("OLD_DATA_SPACE", 0x08349): "EmptyExternalInt8Array", 266 ("OLD_DATA_SPACE", 0x08289): "EmptyExternalInt8Array",
266 ("OLD_DATA_SPACE", 0x08355): "EmptyExternalUint8Array", 267 ("OLD_DATA_SPACE", 0x08295): "EmptyExternalUint8Array",
267 ("OLD_DATA_SPACE", 0x08361): "EmptyExternalInt16Array", 268 ("OLD_DATA_SPACE", 0x082a1): "EmptyExternalInt16Array",
268 ("OLD_DATA_SPACE", 0x0836d): "EmptyExternalUint16Array", 269 ("OLD_DATA_SPACE", 0x082ad): "EmptyExternalUint16Array",
269 ("OLD_DATA_SPACE", 0x08379): "EmptyExternalInt32Array", 270 ("OLD_DATA_SPACE", 0x082b9): "EmptyExternalInt32Array",
270 ("OLD_DATA_SPACE", 0x08385): "EmptyExternalUint32Array", 271 ("OLD_DATA_SPACE", 0x082c5): "EmptyExternalUint32Array",
271 ("OLD_DATA_SPACE", 0x08391): "EmptyExternalFloat32Array", 272 ("OLD_DATA_SPACE", 0x082d1): "EmptyExternalFloat32Array",
272 ("OLD_DATA_SPACE", 0x0839d): "EmptyExternalFloat64Array", 273 ("OLD_DATA_SPACE", 0x082dd): "EmptyExternalFloat64Array",
273 ("OLD_DATA_SPACE", 0x083a9): "EmptyExternalUint8ClampedArray", 274 ("OLD_DATA_SPACE", 0x082e9): "EmptyExternalUint8ClampedArray",
274 ("OLD_DATA_SPACE", 0x083b5): "InfinityValue", 275 ("OLD_DATA_SPACE", 0x082f5): "InfinityValue",
275 ("OLD_DATA_SPACE", 0x083c1): "MinusZeroValue", 276 ("OLD_DATA_SPACE", 0x08301): "MinusZeroValue",
276 ("CODE_SPACE", 0x13c81): "JsConstructEntryCode", 277 ("CODE_SPACE", 0x13921): "JsConstructEntryCode",
277 ("CODE_SPACE", 0x215a1): "JsEntryCode", 278 ("CODE_SPACE", 0x215e1): "JsEntryCode",
278 } 279 }
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698