Commit 0ff83a4b authored by Iain Ireland's avatar Iain Ireland
Browse files

Bug 1639590: Finish removing unboxed objects code. r=mgaudet, a=dveditz

Differential Revision: https://phabricator.services.mozilla.com/D76155
parent bea0c1a5
...@@ -2442,7 +2442,8 @@ bool js::GetOwnPropertyPure(JSContext* cx, JSObject* obj, jsid id, Value* vp, ...@@ -2442,7 +2442,8 @@ bool js::GetOwnPropertyPure(JSContext* cx, JSObject* obj, jsid id, Value* vp,
} }
*found = true; *found = true;
return NativeGetPureInline(&obj->as<NativeObject>(), id, prop, vp, cx); return obj->isNative() &&
NativeGetPureInline(&obj->as<NativeObject>(), id, prop, vp, cx);
} }
static inline bool NativeGetGetterPureInline(PropertyResult prop, static inline bool NativeGetGetterPureInline(PropertyResult prop,
......
Supports Markdown
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