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

Side by Side Diff: tools/v8heapconst.py

Issue 2964943002: [wasm] Introduce instance types for WebAssembly.* objects. (Closed)
Patch Set: Address rossberg comments. Created 3 years, 5 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 | « test/cctest/wasm/test-run-wasm-module.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 2017 the V8 project authors. All rights reserved. 1 # Copyright 2017 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can 2 # Use of this source code is governed by a BSD-style license that can
3 # be found in the LICENSE file. 3 # be found in the LICENSE file.
4 4
5 # This file is automatically generated by mkgrokdump and should not 5 # This file is automatically generated by mkgrokdump and should not
6 # be modified manually. 6 # be modified manually.
7 7
8 # List of known V8 instance types. 8 # List of known V8 instance types.
9 INSTANCE_TYPES = { 9 INSTANCE_TYPES = {
10 0: "INTERNALIZED_STRING_TYPE", 10 0: "INTERNALIZED_STRING_TYPE",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 237: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE", 141 237: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE",
142 238: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE", 142 238: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE",
143 239: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE", 143 239: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE",
144 240: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE", 144 240: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE",
145 241: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE", 145 241: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE",
146 242: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE", 146 242: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE",
147 243: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE", 147 243: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE",
148 244: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", 148 244: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE",
149 245: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", 149 245: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE",
150 246: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE", 150 246: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE",
151 247: "JS_BOUND_FUNCTION_TYPE", 151 247: "WASM_INSTANCE_TYPE",
152 248: "JS_FUNCTION_TYPE", 152 248: "WASM_MEMORY_TYPE",
153 249: "WASM_MODULE_TYPE",
154 250: "WASM_TABLE_TYPE",
155 251: "JS_BOUND_FUNCTION_TYPE",
156 252: "JS_FUNCTION_TYPE",
153 } 157 }
154 158
155 # List of known V8 maps. 159 # List of known V8 maps.
156 KNOWN_MAPS = { 160 KNOWN_MAPS = {
157 0x02201: (137, "FreeSpaceMap"), 161 0x02201: (137, "FreeSpaceMap"),
158 0x02259: (131, "MetaMap"), 162 0x02259: (131, "MetaMap"),
159 0x022b1: (130, "NullMap"), 163 0x022b1: (130, "NullMap"),
160 0x02309: (171, "FixedArrayMap"), 164 0x02309: (171, "FixedArrayMap"),
161 0x02361: (8, "OneByteInternalizedStringMap"), 165 0x02361: (8, "OneByteInternalizedStringMap"),
162 0x023b9: (148, "OnePointerFillerMap"), 166 0x023b9: (148, "OnePointerFillerMap"),
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 "BUILTIN_CONTINUATION", 331 "BUILTIN_CONTINUATION",
328 "JAVA_SCRIPT_BUILTIN_CONTINUATION", 332 "JAVA_SCRIPT_BUILTIN_CONTINUATION",
329 "INTERNAL", 333 "INTERNAL",
330 "CONSTRUCT", 334 "CONSTRUCT",
331 "ARGUMENTS_ADAPTOR", 335 "ARGUMENTS_ADAPTOR",
332 "BUILTIN", 336 "BUILTIN",
333 "BUILTIN_EXIT", 337 "BUILTIN_EXIT",
334 ) 338 )
335 339
336 # This set of constants is generated from a shipping build. 340 # This set of constants is generated from a shipping build.
OLDNEW
« no previous file with comments | « test/cctest/wasm/test-run-wasm-module.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698