mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1146597 - Remove redundant check for unboxed object/array runtime option.
This commit is contained in:
parent
cd294539d3
commit
f540b032f3
@ -1829,10 +1829,6 @@ js::TryConvertToUnboxedLayout(ExclusiveContext* cx, Shape* templateShape,
|
||||
|
||||
bool isArray = !templateShape;
|
||||
|
||||
const JS::RuntimeOptions& options = group->runtimeFromAnyThread()->options();
|
||||
if (isArray ? !options.unboxedArrays() : !options.unboxedObjects())
|
||||
return true;
|
||||
|
||||
if (group->runtimeFromAnyThread()->isSelfHostingGlobal(cx->global()))
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user