@@ -888,121 +888,122 @@ template <class C> inline bool Is(Object* obj);
888888 V(Primitive) \
889889 V(Number)
890890
891- #define HEAP_OBJECT_TYPE_LIST (V ) \
892- V (HeapNumber) \
893- V(MutableHeapNumber) \
894- V(Simd128Value) \
895- V(Float32x4) \
896- V(Int32x4) \
897- V(Uint32x4) \
898- V(Bool32x4) \
899- V(Int16x8) \
900- V(Uint16x8) \
901- V(Bool16x8) \
902- V(Int8x16) \
903- V(Uint8x16) \
904- V(Bool8x16) \
905- V(Name) \
906- V(UniqueName) \
907- V(String) \
908- V(SeqString) \
909- V(ExternalString) \
910- V(ConsString) \
911- V(SlicedString) \
912- V(ExternalTwoByteString) \
913- V(ExternalOneByteString) \
914- V(SeqTwoByteString) \
915- V(SeqOneByteString) \
916- V(InternalizedString) \
917- V(Symbol) \
918- \
919- V(FixedTypedArrayBase) \
920- V(FixedUint8Array) \
921- V(FixedInt8Array) \
922- V(FixedUint16Array) \
923- V(FixedInt16Array) \
924- V(FixedUint32Array) \
925- V(FixedInt32Array) \
926- V(FixedFloat32Array) \
927- V(FixedFloat64Array) \
928- V(FixedUint8ClampedArray) \
929- V(ByteArray) \
930- V(BytecodeArray) \
931- V(FreeSpace) \
932- V(JSReceiver) \
933- V(JSObject) \
934- V(JSContextExtensionObject) \
935- V(JSGeneratorObject) \
936- V(JSModule) \
937- V(Map) \
938- V(DescriptorArray) \
939- V(TransitionArray) \
940- V(LiteralsArray) \
941- V(TypeFeedbackMetadata) \
942- V(TypeFeedbackVector) \
943- V(DeoptimizationInputData) \
944- V(DeoptimizationOutputData) \
945- V(DependentCode) \
946- V(HandlerTable) \
947- V(FixedArray) \
948- V(FixedDoubleArray) \
949- V(WeakFixedArray) \
950- V(ArrayList) \
951- V(Context) \
952- V(ScriptContextTable) \
953- V(NativeContext) \
954- V(ScopeInfo) \
955- V(JSBoundFunction) \
956- V(JSFunction) \
957- V(Code) \
958- V(AbstractCode) \
959- V(Oddball) \
960- V(SharedFunctionInfo) \
961- V(JSValue) \
962- V(JSDate) \
963- V(JSMessageObject) \
964- V(StringWrapper) \
965- V(Foreign) \
966- V(Boolean) \
967- V(JSArray) \
968- V(JSArrayBuffer) \
969- V(JSArrayBufferView) \
970- V(JSTypedArray) \
971- V(JSDataView) \
972- V(JSProxy) \
973- V(JSSet) \
974- V(JSMap) \
975- V(JSSetIterator) \
976- V(JSMapIterator) \
977- V(JSWeakCollection) \
978- V(JSWeakMap) \
979- V(JSWeakSet) \
980- V(JSRegExp) \
981- V(HashTable) \
982- V(Dictionary) \
983- V(StringTable) \
984- V(StringSet) \
985- V(NormalizedMapCache) \
986- V(CompilationCacheTable) \
987- V(CodeCacheHashTable) \
988- V(MapCache) \
989- V(JSGlobalObject) \
990- V(JSGlobalProxy) \
991- V(Undetectable) \
992- V(AccessCheckNeeded) \
993- V(Callable) \
994- V(Function) \
995- V(Constructor) \
996- V(TemplateInfo) \
997- V(Filler) \
998- V(FixedArrayBase) \
999- V(External) \
1000- V(Struct) \
1001- V(Cell) \
1002- V(PropertyCell) \
1003- V(WeakCell) \
1004- V(ObjectHashTable) \
1005- V(WeakHashTable) \
891+ #define HEAP_OBJECT_TYPE_LIST (V ) \
892+ V (HeapNumber) \
893+ V(MutableHeapNumber) \
894+ V(Simd128Value) \
895+ V(Float32x4) \
896+ V(Int32x4) \
897+ V(Uint32x4) \
898+ V(Bool32x4) \
899+ V(Int16x8) \
900+ V(Uint16x8) \
901+ V(Bool16x8) \
902+ V(Int8x16) \
903+ V(Uint8x16) \
904+ V(Bool8x16) \
905+ V(Name) \
906+ V(UniqueName) \
907+ V(String) \
908+ V(SeqString) \
909+ V(ExternalString) \
910+ V(ConsString) \
911+ V(SlicedString) \
912+ V(ExternalTwoByteString) \
913+ V(ExternalOneByteString) \
914+ V(SeqTwoByteString) \
915+ V(SeqOneByteString) \
916+ V(InternalizedString) \
917+ V(Symbol) \
918+ \
919+ V(FixedTypedArrayBase) \
920+ V(FixedUint8Array) \
921+ V(FixedInt8Array) \
922+ V(FixedUint16Array) \
923+ V(FixedInt16Array) \
924+ V(FixedUint32Array) \
925+ V(FixedInt32Array) \
926+ V(FixedFloat32Array) \
927+ V(FixedFloat64Array) \
928+ V(FixedUint8ClampedArray) \
929+ V(ByteArray) \
930+ V(BytecodeArray) \
931+ V(FreeSpace) \
932+ V(JSReceiver) \
933+ V(JSObject) \
934+ V(JSContextExtensionObject) \
935+ V(JSGeneratorObject) \
936+ V(JSModule) \
937+ V(Map) \
938+ V(DescriptorArray) \
939+ V(TransitionArray) \
940+ V(LiteralsArray) \
941+ V(TypeFeedbackMetadata) \
942+ V(TypeFeedbackVector) \
943+ V(DeoptimizationInputData) \
944+ V(DeoptimizationOutputData) \
945+ V(DependentCode) \
946+ V(HandlerTable) \
947+ V(FixedArray) \
948+ V(FixedDoubleArray) \
949+ V(WeakFixedArray) \
950+ V(ArrayList) \
951+ V(Context) \
952+ V(ScriptContextTable) \
953+ V(NativeContext) \
954+ V(ScopeInfo) \
955+ V(JSBoundFunction) \
956+ V(JSFunction) \
957+ V(Code) \
958+ V(AbstractCode) \
959+ V(Oddball) \
960+ V(SharedFunctionInfo) \
961+ V(JSValue) \
962+ V(JSDate) \
963+ V(JSMessageObject) \
964+ V(StringWrapper) \
965+ V(Foreign) \
966+ V(Boolean) \
967+ V(JSArray) \
968+ V(JSArrayBuffer) \
969+ V(JSArrayBufferView) \
970+ V(JSTypedArray) \
971+ V(JSDataView) \
972+ V(JSProxy) \
973+ V(JSError) \
974+ V(JSSet) \
975+ V(JSMap) \
976+ V(JSSetIterator) \
977+ V(JSMapIterator) \
978+ V(JSWeakCollection) \
979+ V(JSWeakMap) \
980+ V(JSWeakSet) \
981+ V(JSRegExp) \
982+ V(HashTable) \
983+ V(Dictionary) \
984+ V(StringTable) \
985+ V(StringSet) \
986+ V(NormalizedMapCache) \
987+ V(CompilationCacheTable) \
988+ V(CodeCacheHashTable) \
989+ V(MapCache) \
990+ V(JSGlobalObject) \
991+ V(JSGlobalProxy) \
992+ V(Undetectable) \
993+ V(AccessCheckNeeded) \
994+ V(Callable) \
995+ V(Function) \
996+ V(Constructor) \
997+ V(TemplateInfo) \
998+ V(Filler) \
999+ V(FixedArrayBase) \
1000+ V(External) \
1001+ V(Struct) \
1002+ V(Cell) \
1003+ V(PropertyCell) \
1004+ V(WeakCell) \
1005+ V(ObjectHashTable) \
1006+ V(WeakHashTable) \
10061007 V(OrderedHashTable)
10071008
10081009#define ODDBALL_LIST (V ) \
@@ -1189,9 +1190,6 @@ class Object {
11891190 MUST_USE_RESULT static MaybeHandle<Object> GetLengthFromArrayLike (
11901191 Isolate* isolate, Handle<Object> object);
11911192
1192- // Check whether |object| is an instance of Error or NativeError.
1193- static bool IsErrorObject (Isolate* isolate, Handle<Object> object);
1194-
11951193 // ES6 section 12.5.6 The typeof Operator
11961194 static Handle<String> TypeOf (Isolate* isolate, Handle<Object> object);
11971195
0 commit comments