Remove Unboxed Object code from /vm, Part 3.

This commit is contained in:
wolfbeast 2019-06-25 11:15:11 +00:00 • committed by Roy Tam
commit aa89a14709
18 changed files with 13 additions and 1560 deletions

View file

@ -269,7 +269,7 @@ js::GetBuiltinClass(JSContext* cx, HandleObject obj, ESClass* cls)
if (MOZ_UNLIKELY(obj->is<ProxyObject>()))
return Proxy::getBuiltinClass(cx, obj, cls);
if (obj->is<PlainObject>() || obj->is<UnboxedPlainObject>())
if (obj->is<PlainObject>())
*cls = ESClass::Object;
else if (obj->is<ArrayObject>())
*cls = ESClass::Array;