Commit 0e4965e5 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Remove PREPARED_SCOPE_DATA instance type.

And alpha-sort some lists.

R=jgruber@chromium.org

Change-Id: I01fcf01cf8e1eb1e6c99202156c1013e92bf4e7e
Reviewed-on: https://chromium-review.googlesource.com/579711
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46809}
parent f8a5c85d
...@@ -335,7 +335,7 @@ Type::bitset BitsetType::Lub(i::Map* map) { ...@@ -335,7 +335,7 @@ Type::bitset BitsetType::Lub(i::Map* map) {
case TUPLE3_TYPE: case TUPLE3_TYPE:
case CONTEXT_EXTENSION_TYPE: case CONTEXT_EXTENSION_TYPE:
case ASYNC_GENERATOR_REQUEST_TYPE: case ASYNC_GENERATOR_REQUEST_TYPE:
case PREPARSED_SCOPE_DATA_TYPE: case PADDING_TYPE_0:
UNREACHABLE(); UNREACHABLE();
} }
UNREACHABLE(); UNREACHABLE();
......
...@@ -3918,7 +3918,7 @@ Handle<Object> TranslatedState::MaterializeCapturedObjectAt( ...@@ -3918,7 +3918,7 @@ Handle<Object> TranslatedState::MaterializeCapturedObjectAt(
case TUPLE2_TYPE: case TUPLE2_TYPE:
case TUPLE3_TYPE: case TUPLE3_TYPE:
case ASYNC_GENERATOR_REQUEST_TYPE: case ASYNC_GENERATOR_REQUEST_TYPE:
case PREPARSED_SCOPE_DATA_TYPE: case PADDING_TYPE_0:
case WASM_MODULE_TYPE: case WASM_MODULE_TYPE:
case WASM_INSTANCE_TYPE: case WASM_INSTANCE_TYPE:
case WASM_MEMORY_TYPE: case WASM_MEMORY_TYPE:
......
...@@ -1701,7 +1701,7 @@ Handle<ModuleInfo> Factory::NewModuleInfo() { ...@@ -1701,7 +1701,7 @@ Handle<ModuleInfo> Factory::NewModuleInfo() {
Handle<PreParsedScopeData> Factory::NewPreParsedScopeData() { Handle<PreParsedScopeData> Factory::NewPreParsedScopeData() {
Handle<PreParsedScopeData> result = Handle<PreParsedScopeData> result =
Handle<PreParsedScopeData>::cast(NewStruct(PREPARSED_SCOPE_DATA_TYPE)); Handle<PreParsedScopeData>::cast(NewStruct(TUPLE2_TYPE));
result->set_scope_data(PodArray<uint32_t>::cast(*empty_byte_array())); result->set_scope_data(PodArray<uint32_t>::cast(*empty_byte_array()));
result->set_child_data(*empty_fixed_array()); result->set_child_data(*empty_fixed_array());
return result; return result;
......
...@@ -81,8 +81,9 @@ TYPE_CHECKER(FixedDoubleArray, FIXED_DOUBLE_ARRAY_TYPE) ...@@ -81,8 +81,9 @@ TYPE_CHECKER(FixedDoubleArray, FIXED_DOUBLE_ARRAY_TYPE)
TYPE_CHECKER(Foreign, FOREIGN_TYPE) TYPE_CHECKER(Foreign, FOREIGN_TYPE)
TYPE_CHECKER(FreeSpace, FREE_SPACE_TYPE) TYPE_CHECKER(FreeSpace, FREE_SPACE_TYPE)
TYPE_CHECKER(HeapNumber, HEAP_NUMBER_TYPE) TYPE_CHECKER(HeapNumber, HEAP_NUMBER_TYPE)
TYPE_CHECKER(JSArray, JS_ARRAY_TYPE)
TYPE_CHECKER(JSArrayBuffer, JS_ARRAY_BUFFER_TYPE) TYPE_CHECKER(JSArrayBuffer, JS_ARRAY_BUFFER_TYPE)
TYPE_CHECKER(JSArray, JS_ARRAY_TYPE)
TYPE_CHECKER(JSAsyncFromSyncIterator, JS_ASYNC_FROM_SYNC_ITERATOR_TYPE)
TYPE_CHECKER(JSAsyncGeneratorObject, JS_ASYNC_GENERATOR_OBJECT_TYPE) TYPE_CHECKER(JSAsyncGeneratorObject, JS_ASYNC_GENERATOR_OBJECT_TYPE)
TYPE_CHECKER(JSBoundFunction, JS_BOUND_FUNCTION_TYPE) TYPE_CHECKER(JSBoundFunction, JS_BOUND_FUNCTION_TYPE)
TYPE_CHECKER(JSContextExtensionObject, JS_CONTEXT_EXTENSION_OBJECT_TYPE) TYPE_CHECKER(JSContextExtensionObject, JS_CONTEXT_EXTENSION_OBJECT_TYPE)
...@@ -98,28 +99,28 @@ TYPE_CHECKER(JSPromiseCapability, JS_PROMISE_CAPABILITY_TYPE) ...@@ -98,28 +99,28 @@ TYPE_CHECKER(JSPromiseCapability, JS_PROMISE_CAPABILITY_TYPE)
TYPE_CHECKER(JSPromise, JS_PROMISE_TYPE) TYPE_CHECKER(JSPromise, JS_PROMISE_TYPE)
TYPE_CHECKER(JSRegExp, JS_REGEXP_TYPE) TYPE_CHECKER(JSRegExp, JS_REGEXP_TYPE)
TYPE_CHECKER(JSSet, JS_SET_TYPE) TYPE_CHECKER(JSSet, JS_SET_TYPE)
TYPE_CHECKER(JSAsyncFromSyncIterator, JS_ASYNC_FROM_SYNC_ITERATOR_TYPE)
TYPE_CHECKER(JSStringIterator, JS_STRING_ITERATOR_TYPE) TYPE_CHECKER(JSStringIterator, JS_STRING_ITERATOR_TYPE)
TYPE_CHECKER(JSTypedArray, JS_TYPED_ARRAY_TYPE) TYPE_CHECKER(JSTypedArray, JS_TYPED_ARRAY_TYPE)
TYPE_CHECKER(JSValue, JS_VALUE_TYPE) TYPE_CHECKER(JSValue, JS_VALUE_TYPE)
TYPE_CHECKER(JSWeakMap, JS_WEAK_MAP_TYPE) TYPE_CHECKER(JSWeakMap, JS_WEAK_MAP_TYPE)
TYPE_CHECKER(JSWeakSet, JS_WEAK_SET_TYPE) TYPE_CHECKER(JSWeakSet, JS_WEAK_SET_TYPE)
TYPE_CHECKER(WasmInstanceObject, WASM_INSTANCE_TYPE)
TYPE_CHECKER(WasmMemoryObject, WASM_MEMORY_TYPE)
TYPE_CHECKER(WasmModuleObject, WASM_MODULE_TYPE)
TYPE_CHECKER(WasmTableObject, WASM_TABLE_TYPE)
TYPE_CHECKER(Map, MAP_TYPE) TYPE_CHECKER(Map, MAP_TYPE)
TYPE_CHECKER(MutableHeapNumber, MUTABLE_HEAP_NUMBER_TYPE) TYPE_CHECKER(MutableHeapNumber, MUTABLE_HEAP_NUMBER_TYPE)
TYPE_CHECKER(Oddball, ODDBALL_TYPE) TYPE_CHECKER(Oddball, ODDBALL_TYPE)
TYPE_CHECKER(PreParsedScopeData, TUPLE2_TYPE)
TYPE_CHECKER(PropertyArray, PROPERTY_ARRAY_TYPE)
TYPE_CHECKER(PropertyCell, PROPERTY_CELL_TYPE) TYPE_CHECKER(PropertyCell, PROPERTY_CELL_TYPE)
TYPE_CHECKER(SmallOrderedHashMap, SMALL_ORDERED_HASH_MAP_TYPE)
TYPE_CHECKER(SmallOrderedHashSet, SMALL_ORDERED_HASH_SET_TYPE)
TYPE_CHECKER(SourcePositionTableWithFrameCache, TUPLE2_TYPE) TYPE_CHECKER(SourcePositionTableWithFrameCache, TUPLE2_TYPE)
TYPE_CHECKER(TransitionArray, TRANSITION_ARRAY_TYPE) TYPE_CHECKER(TransitionArray, TRANSITION_ARRAY_TYPE)
TYPE_CHECKER(TypeFeedbackInfo, TUPLE3_TYPE) TYPE_CHECKER(TypeFeedbackInfo, TUPLE3_TYPE)
TYPE_CHECKER(WasmInstanceObject, WASM_INSTANCE_TYPE)
TYPE_CHECKER(WasmMemoryObject, WASM_MEMORY_TYPE)
TYPE_CHECKER(WasmModuleObject, WASM_MODULE_TYPE)
TYPE_CHECKER(WasmTableObject, WASM_TABLE_TYPE)
TYPE_CHECKER(WeakCell, WEAK_CELL_TYPE) TYPE_CHECKER(WeakCell, WEAK_CELL_TYPE)
TYPE_CHECKER(WeakFixedArray, FIXED_ARRAY_TYPE) TYPE_CHECKER(WeakFixedArray, FIXED_ARRAY_TYPE)
TYPE_CHECKER(SmallOrderedHashSet, SMALL_ORDERED_HASH_SET_TYPE)
TYPE_CHECKER(SmallOrderedHashMap, SMALL_ORDERED_HASH_MAP_TYPE)
TYPE_CHECKER(PropertyArray, PROPERTY_ARRAY_TYPE)
#define TYPED_ARRAY_TYPE_CHECKER(Type, type, TYPE, ctype, size) \ #define TYPED_ARRAY_TYPE_CHECKER(Type, type, TYPE, ctype, size) \
TYPE_CHECKER(Fixed##Type##Array, FIXED_##TYPE##_ARRAY_TYPE) TYPE_CHECKER(Fixed##Type##Array, FIXED_##TYPE##_ARRAY_TYPE)
...@@ -562,7 +563,6 @@ CAST_ACCESSOR(FixedArray) ...@@ -562,7 +563,6 @@ CAST_ACCESSOR(FixedArray)
CAST_ACCESSOR(FixedArrayBase) CAST_ACCESSOR(FixedArrayBase)
CAST_ACCESSOR(FixedDoubleArray) CAST_ACCESSOR(FixedDoubleArray)
CAST_ACCESSOR(FixedTypedArrayBase) CAST_ACCESSOR(FixedTypedArrayBase)
CAST_ACCESSOR(PropertyArray)
CAST_ACCESSOR(Foreign) CAST_ACCESSOR(Foreign)
CAST_ACCESSOR(FunctionTemplateInfo) CAST_ACCESSOR(FunctionTemplateInfo)
CAST_ACCESSOR(GlobalDictionary) CAST_ACCESSOR(GlobalDictionary)
...@@ -615,11 +615,14 @@ CAST_ACCESSOR(OrderedHashMap) ...@@ -615,11 +615,14 @@ CAST_ACCESSOR(OrderedHashMap)
CAST_ACCESSOR(OrderedHashSet) CAST_ACCESSOR(OrderedHashSet)
CAST_ACCESSOR(PromiseReactionJobInfo) CAST_ACCESSOR(PromiseReactionJobInfo)
CAST_ACCESSOR(PromiseResolveThenableJobInfo) CAST_ACCESSOR(PromiseResolveThenableJobInfo)
CAST_ACCESSOR(PropertyArray)
CAST_ACCESSOR(PropertyCell) CAST_ACCESSOR(PropertyCell)
CAST_ACCESSOR(PrototypeInfo) CAST_ACCESSOR(PrototypeInfo)
CAST_ACCESSOR(RegExpMatchInfo) CAST_ACCESSOR(RegExpMatchInfo)
CAST_ACCESSOR(ScopeInfo) CAST_ACCESSOR(ScopeInfo)
CAST_ACCESSOR(SeededNumberDictionary) CAST_ACCESSOR(SeededNumberDictionary)
CAST_ACCESSOR(SmallOrderedHashMap)
CAST_ACCESSOR(SmallOrderedHashSet)
CAST_ACCESSOR(Smi) CAST_ACCESSOR(Smi)
CAST_ACCESSOR(SourcePositionTableWithFrameCache) CAST_ACCESSOR(SourcePositionTableWithFrameCache)
CAST_ACCESSOR(StackFrameInfo) CAST_ACCESSOR(StackFrameInfo)
...@@ -633,8 +636,6 @@ CAST_ACCESSOR(Tuple3) ...@@ -633,8 +636,6 @@ CAST_ACCESSOR(Tuple3)
CAST_ACCESSOR(TypeFeedbackInfo) CAST_ACCESSOR(TypeFeedbackInfo)
CAST_ACCESSOR(UnseededNumberDictionary) CAST_ACCESSOR(UnseededNumberDictionary)
CAST_ACCESSOR(WeakCell) CAST_ACCESSOR(WeakCell)
CAST_ACCESSOR(SmallOrderedHashMap)
CAST_ACCESSOR(SmallOrderedHashSet)
CAST_ACCESSOR(WeakFixedArray) CAST_ACCESSOR(WeakFixedArray)
CAST_ACCESSOR(WeakHashTable) CAST_ACCESSOR(WeakHashTable)
......
...@@ -297,166 +297,166 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1; ...@@ -297,166 +297,166 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1;
// NOTE: Everything following JS_VALUE_TYPE is considered a // NOTE: Everything following JS_VALUE_TYPE is considered a
// JSObject for GC purposes. The first four entries here have typeof // JSObject for GC purposes. The first four entries here have typeof
// 'object', whereas JS_FUNCTION_TYPE has typeof 'function'. // 'object', whereas JS_FUNCTION_TYPE has typeof 'function'.
#define INSTANCE_TYPE_LIST(V) \ #define INSTANCE_TYPE_LIST(V) \
V(INTERNALIZED_STRING_TYPE) \ V(INTERNALIZED_STRING_TYPE) \
V(EXTERNAL_INTERNALIZED_STRING_TYPE) \ V(EXTERNAL_INTERNALIZED_STRING_TYPE) \
V(ONE_BYTE_INTERNALIZED_STRING_TYPE) \ V(ONE_BYTE_INTERNALIZED_STRING_TYPE) \
V(EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ V(EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \
V(EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ V(EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \
V(SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE) \ V(SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE) \
V(SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \ V(SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE) \
V(SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \ V(SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE) \
V(STRING_TYPE) \ V(STRING_TYPE) \
V(CONS_STRING_TYPE) \ V(CONS_STRING_TYPE) \
V(EXTERNAL_STRING_TYPE) \ V(EXTERNAL_STRING_TYPE) \
V(SLICED_STRING_TYPE) \ V(SLICED_STRING_TYPE) \
V(THIN_STRING_TYPE) \ V(THIN_STRING_TYPE) \
V(ONE_BYTE_STRING_TYPE) \ V(ONE_BYTE_STRING_TYPE) \
V(CONS_ONE_BYTE_STRING_TYPE) \ V(CONS_ONE_BYTE_STRING_TYPE) \
V(EXTERNAL_ONE_BYTE_STRING_TYPE) \ V(EXTERNAL_ONE_BYTE_STRING_TYPE) \
V(SLICED_ONE_BYTE_STRING_TYPE) \ V(SLICED_ONE_BYTE_STRING_TYPE) \
V(THIN_ONE_BYTE_STRING_TYPE) \ V(THIN_ONE_BYTE_STRING_TYPE) \
V(EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE) \ V(EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE) \
V(SHORT_EXTERNAL_STRING_TYPE) \ V(SHORT_EXTERNAL_STRING_TYPE) \
V(SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE) \ V(SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE) \
V(SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE) \ V(SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE) \
\ \
V(SYMBOL_TYPE) \ V(SYMBOL_TYPE) \
V(HEAP_NUMBER_TYPE) \ V(HEAP_NUMBER_TYPE) \
V(ODDBALL_TYPE) \ V(ODDBALL_TYPE) \
\ \
V(MAP_TYPE) \ V(MAP_TYPE) \
V(CODE_TYPE) \ V(CODE_TYPE) \
V(MUTABLE_HEAP_NUMBER_TYPE) \ V(MUTABLE_HEAP_NUMBER_TYPE) \
V(FOREIGN_TYPE) \ V(FOREIGN_TYPE) \
V(BYTE_ARRAY_TYPE) \ V(BYTE_ARRAY_TYPE) \
V(BYTECODE_ARRAY_TYPE) \ V(BYTECODE_ARRAY_TYPE) \
V(FREE_SPACE_TYPE) \ V(FREE_SPACE_TYPE) \
\ \
V(FIXED_INT8_ARRAY_TYPE) \ V(FIXED_INT8_ARRAY_TYPE) \
V(FIXED_UINT8_ARRAY_TYPE) \ V(FIXED_UINT8_ARRAY_TYPE) \
V(FIXED_INT16_ARRAY_TYPE) \ V(FIXED_INT16_ARRAY_TYPE) \
V(FIXED_UINT16_ARRAY_TYPE) \ V(FIXED_UINT16_ARRAY_TYPE) \
V(FIXED_INT32_ARRAY_TYPE) \ V(FIXED_INT32_ARRAY_TYPE) \
V(FIXED_UINT32_ARRAY_TYPE) \ V(FIXED_UINT32_ARRAY_TYPE) \
V(FIXED_FLOAT32_ARRAY_TYPE) \ V(FIXED_FLOAT32_ARRAY_TYPE) \
V(FIXED_FLOAT64_ARRAY_TYPE) \ V(FIXED_FLOAT64_ARRAY_TYPE) \
V(FIXED_UINT8_CLAMPED_ARRAY_TYPE) \ V(FIXED_UINT8_CLAMPED_ARRAY_TYPE) \
\ \
V(FIXED_DOUBLE_ARRAY_TYPE) \ V(FIXED_DOUBLE_ARRAY_TYPE) \
V(FILLER_TYPE) \ V(FILLER_TYPE) \
\ \
V(ACCESSOR_INFO_TYPE) \ V(ACCESSOR_INFO_TYPE) \
V(ACCESSOR_PAIR_TYPE) \ V(ACCESSOR_PAIR_TYPE) \
V(ACCESS_CHECK_INFO_TYPE) \ V(ACCESS_CHECK_INFO_TYPE) \
V(INTERCEPTOR_INFO_TYPE) \ V(INTERCEPTOR_INFO_TYPE) \
V(FUNCTION_TEMPLATE_INFO_TYPE) \ V(FUNCTION_TEMPLATE_INFO_TYPE) \
V(OBJECT_TEMPLATE_INFO_TYPE) \ V(OBJECT_TEMPLATE_INFO_TYPE) \
V(ALLOCATION_SITE_TYPE) \ V(ALLOCATION_SITE_TYPE) \
V(ALLOCATION_MEMENTO_TYPE) \ V(ALLOCATION_MEMENTO_TYPE) \
V(SCRIPT_TYPE) \ V(SCRIPT_TYPE) \
V(ALIASED_ARGUMENTS_ENTRY_TYPE) \ V(ALIASED_ARGUMENTS_ENTRY_TYPE) \
V(PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE) \ V(PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE) \
V(PROMISE_REACTION_JOB_INFO_TYPE) \ V(PROMISE_REACTION_JOB_INFO_TYPE) \
V(DEBUG_INFO_TYPE) \ V(DEBUG_INFO_TYPE) \
V(STACK_FRAME_INFO_TYPE) \ V(STACK_FRAME_INFO_TYPE) \
V(PROTOTYPE_INFO_TYPE) \ V(PROTOTYPE_INFO_TYPE) \
V(TUPLE2_TYPE) \ V(TUPLE2_TYPE) \
V(TUPLE3_TYPE) \ V(TUPLE3_TYPE) \
V(CONTEXT_EXTENSION_TYPE) \ V(CONTEXT_EXTENSION_TYPE) \
V(MODULE_TYPE) \ V(MODULE_TYPE) \
V(MODULE_INFO_ENTRY_TYPE) \ V(MODULE_INFO_ENTRY_TYPE) \
V(ASYNC_GENERATOR_REQUEST_TYPE) \ V(ASYNC_GENERATOR_REQUEST_TYPE) \
V(PREPARSED_SCOPE_DATA_TYPE) \ V(PADDING_TYPE_0) \
V(FIXED_ARRAY_TYPE) \ V(FIXED_ARRAY_TYPE) \
V(PROPERTY_ARRAY_TYPE) \ V(PROPERTY_ARRAY_TYPE) \
V(TRANSITION_ARRAY_TYPE) \ V(TRANSITION_ARRAY_TYPE) \
V(SHARED_FUNCTION_INFO_TYPE) \ V(SHARED_FUNCTION_INFO_TYPE) \
V(CELL_TYPE) \ V(CELL_TYPE) \
V(WEAK_CELL_TYPE) \ V(WEAK_CELL_TYPE) \
V(PROPERTY_CELL_TYPE) \ V(PROPERTY_CELL_TYPE) \
V(SMALL_ORDERED_HASH_MAP_TYPE) \ V(SMALL_ORDERED_HASH_MAP_TYPE) \
V(SMALL_ORDERED_HASH_SET_TYPE) \ V(SMALL_ORDERED_HASH_SET_TYPE) \
\ \
V(JS_PROXY_TYPE) \ V(JS_PROXY_TYPE) \
V(JS_GLOBAL_OBJECT_TYPE) \ V(JS_GLOBAL_OBJECT_TYPE) \
V(JS_GLOBAL_PROXY_TYPE) \ V(JS_GLOBAL_PROXY_TYPE) \
V(JS_SPECIAL_API_OBJECT_TYPE) \ V(JS_SPECIAL_API_OBJECT_TYPE) \
V(JS_VALUE_TYPE) \ V(JS_VALUE_TYPE) \
V(JS_MESSAGE_OBJECT_TYPE) \ V(JS_MESSAGE_OBJECT_TYPE) \
V(JS_DATE_TYPE) \ V(JS_DATE_TYPE) \
V(JS_API_OBJECT_TYPE) \ V(JS_API_OBJECT_TYPE) \
V(JS_OBJECT_TYPE) \ V(JS_OBJECT_TYPE) \
V(JS_ARGUMENTS_TYPE) \ V(JS_ARGUMENTS_TYPE) \
V(JS_CONTEXT_EXTENSION_OBJECT_TYPE) \ V(JS_CONTEXT_EXTENSION_OBJECT_TYPE) \
V(JS_GENERATOR_OBJECT_TYPE) \ V(JS_GENERATOR_OBJECT_TYPE) \
V(JS_ASYNC_GENERATOR_OBJECT_TYPE) \ V(JS_ASYNC_GENERATOR_OBJECT_TYPE) \
V(JS_MODULE_NAMESPACE_TYPE) \ V(JS_MODULE_NAMESPACE_TYPE) \
V(JS_ARRAY_TYPE) \ V(JS_ARRAY_TYPE) \
V(JS_ARRAY_BUFFER_TYPE) \ V(JS_ARRAY_BUFFER_TYPE) \
V(JS_TYPED_ARRAY_TYPE) \ V(JS_TYPED_ARRAY_TYPE) \
V(JS_DATA_VIEW_TYPE) \ V(JS_DATA_VIEW_TYPE) \
V(JS_SET_TYPE) \ V(JS_SET_TYPE) \
V(JS_MAP_TYPE) \ V(JS_MAP_TYPE) \
V(JS_SET_KEY_VALUE_ITERATOR_TYPE) \ V(JS_SET_KEY_VALUE_ITERATOR_TYPE) \
V(JS_SET_VALUE_ITERATOR_TYPE) \ V(JS_SET_VALUE_ITERATOR_TYPE) \
V(JS_MAP_KEY_ITERATOR_TYPE) \ V(JS_MAP_KEY_ITERATOR_TYPE) \
V(JS_MAP_KEY_VALUE_ITERATOR_TYPE) \ V(JS_MAP_KEY_VALUE_ITERATOR_TYPE) \
V(JS_MAP_VALUE_ITERATOR_TYPE) \ V(JS_MAP_VALUE_ITERATOR_TYPE) \
V(JS_WEAK_MAP_TYPE) \ V(JS_WEAK_MAP_TYPE) \
V(JS_WEAK_SET_TYPE) \ V(JS_WEAK_SET_TYPE) \
V(JS_PROMISE_CAPABILITY_TYPE) \ V(JS_PROMISE_CAPABILITY_TYPE) \
V(JS_PROMISE_TYPE) \ V(JS_PROMISE_TYPE) \
V(JS_REGEXP_TYPE) \ V(JS_REGEXP_TYPE) \
V(JS_ERROR_TYPE) \ V(JS_ERROR_TYPE) \
V(JS_ASYNC_FROM_SYNC_ITERATOR_TYPE) \ V(JS_ASYNC_FROM_SYNC_ITERATOR_TYPE) \
V(JS_STRING_ITERATOR_TYPE) \ V(JS_STRING_ITERATOR_TYPE) \
\ \
V(JS_TYPED_ARRAY_KEY_ITERATOR_TYPE) \ V(JS_TYPED_ARRAY_KEY_ITERATOR_TYPE) \
V(JS_FAST_ARRAY_KEY_ITERATOR_TYPE) \ V(JS_FAST_ARRAY_KEY_ITERATOR_TYPE) \
V(JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE) \ V(JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE) \
\ \
V(JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
\ \
V(JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
V(JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE) \ V(JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE) \
\ \
V(JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_INT8_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_INT8_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_INT16_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_INT16_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_INT32_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_INT32_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE) \
\ \
V(JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE) \
V(JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE) \ V(JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE) \
\ \
V(WASM_INSTANCE_TYPE) \ V(WASM_INSTANCE_TYPE) \
V(WASM_MEMORY_TYPE) \ V(WASM_MEMORY_TYPE) \
V(WASM_MODULE_TYPE) \ V(WASM_MODULE_TYPE) \
V(WASM_TABLE_TYPE) \ V(WASM_TABLE_TYPE) \
V(JS_BOUND_FUNCTION_TYPE) \ V(JS_BOUND_FUNCTION_TYPE) \
V(JS_FUNCTION_TYPE) V(JS_FUNCTION_TYPE)
// Since string types are not consecutive, this macro is used to // Since string types are not consecutive, this macro is used to
...@@ -545,8 +545,7 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1; ...@@ -545,8 +545,7 @@ const int kStubMinorKeyBits = kSmiValueSize - kStubMajorKeyBits - 1;
V(CONTEXT_EXTENSION, ContextExtension, context_extension) \ V(CONTEXT_EXTENSION, ContextExtension, context_extension) \
V(MODULE, Module, module) \ V(MODULE, Module, module) \
V(MODULE_INFO_ENTRY, ModuleInfoEntry, module_info_entry) \ V(MODULE_INFO_ENTRY, ModuleInfoEntry, module_info_entry) \
V(ASYNC_GENERATOR_REQUEST, AsyncGeneratorRequest, async_generator_request) \ V(ASYNC_GENERATOR_REQUEST, AsyncGeneratorRequest, async_generator_request)
V(PREPARSED_SCOPE_DATA, PreParsedScopeData, preparsed_scope_data)
// We use the full 8 bits of the instance_type field to encode heap object // We use the full 8 bits of the instance_type field to encode heap object
// instance types. The high-order bit (bit 7) is set if the object is not a // instance types. The high-order bit (bit 7) is set if the object is not a
...@@ -715,7 +714,7 @@ enum InstanceType : uint8_t { ...@@ -715,7 +714,7 @@ enum InstanceType : uint8_t {
MODULE_TYPE, MODULE_TYPE,
MODULE_INFO_ENTRY_TYPE, MODULE_INFO_ENTRY_TYPE,
ASYNC_GENERATOR_REQUEST_TYPE, ASYNC_GENERATOR_REQUEST_TYPE,
PREPARSED_SCOPE_DATA_TYPE, PADDING_TYPE_0,
FIXED_ARRAY_TYPE, FIXED_ARRAY_TYPE,
PROPERTY_ARRAY_TYPE, PROPERTY_ARRAY_TYPE,
TRANSITION_ARRAY_TYPE, TRANSITION_ARRAY_TYPE,
...@@ -1073,10 +1072,6 @@ template <class C> inline bool Is(Object* obj); ...@@ -1073,10 +1072,6 @@ template <class C> inline bool Is(Object* obj);
V(JSMapIterator) \ V(JSMapIterator) \
V(JSMessageObject) \ V(JSMessageObject) \
V(JSModuleNamespace) \ V(JSModuleNamespace) \
V(WasmInstanceObject) \
V(WasmMemoryObject) \
V(WasmModuleObject) \
V(WasmTableObject) \
V(JSObject) \ V(JSObject) \
V(JSPromise) \ V(JSPromise) \
V(JSPromiseCapability) \ V(JSPromiseCapability) \
...@@ -1103,6 +1098,7 @@ template <class C> inline bool Is(Object* obj); ...@@ -1103,6 +1098,7 @@ template <class C> inline bool Is(Object* obj);
V(ObjectHashTable) \ V(ObjectHashTable) \
V(Oddball) \ V(Oddball) \
V(OrderedHashTable) \ V(OrderedHashTable) \
V(PreParsedScopeData) \
V(PropertyArray) \ V(PropertyArray) \
V(PropertyCell) \ V(PropertyCell) \
V(RegExpMatchInfo) \ V(RegExpMatchInfo) \
...@@ -1131,6 +1127,10 @@ template <class C> inline bool Is(Object* obj); ...@@ -1131,6 +1127,10 @@ template <class C> inline bool Is(Object* obj);
V(Undetectable) \ V(Undetectable) \
V(UniqueName) \ V(UniqueName) \
V(UnseededNumberDictionary) \ V(UnseededNumberDictionary) \
V(WasmInstanceObject) \
V(WasmMemoryObject) \
V(WasmModuleObject) \
V(WasmTableObject) \
V(WeakCell) \ V(WeakCell) \
V(WeakFixedArray) \ V(WeakFixedArray) \
V(WeakHashTable) V(WeakHashTable)
......
...@@ -71,7 +71,7 @@ INSTANCE_TYPES = { ...@@ -71,7 +71,7 @@ INSTANCE_TYPES = {
167: "MODULE_TYPE", 167: "MODULE_TYPE",
168: "MODULE_INFO_ENTRY_TYPE", 168: "MODULE_INFO_ENTRY_TYPE",
169: "ASYNC_GENERATOR_REQUEST_TYPE", 169: "ASYNC_GENERATOR_REQUEST_TYPE",
170: "PREPARSED_SCOPE_DATA_TYPE", 170: "PADDING_TYPE_0",
171: "FIXED_ARRAY_TYPE", 171: "FIXED_ARRAY_TYPE",
172: "PROPERTY_ARRAY_TYPE", 172: "PROPERTY_ARRAY_TYPE",
173: "TRANSITION_ARRAY_TYPE", 173: "TRANSITION_ARRAY_TYPE",
...@@ -267,7 +267,6 @@ KNOWN_MAPS = { ...@@ -267,7 +267,6 @@ KNOWN_MAPS = {
0x04619: (167, "ModuleMap"), 0x04619: (167, "ModuleMap"),
0x04671: (168, "ModuleInfoEntryMap"), 0x04671: (168, "ModuleInfoEntryMap"),
0x046c9: (169, "AsyncGeneratorRequestMap"), 0x046c9: (169, "AsyncGeneratorRequestMap"),
0x04721: (170, "PreParsedScopeDataMap"),
} }
# List of known V8 objects. # List of known V8 objects.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment