mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 891400 - Don't use LoadTypedArrayElementStatic for uint32 arrays.
This commit is contained in:
parent
957a02a6a6
commit
f426863a2f
@ -6539,6 +6539,10 @@ IonBuilder::jsop_getelem_typed_static(bool *psucceeded)
|
||||
|
||||
ArrayBufferView::ViewType viewType = JS_GetArrayBufferViewType(tarr);
|
||||
|
||||
// LoadTypedArrayElementStatic currently treats uint32 arrays as int32.
|
||||
if (viewType == ArrayBufferView::TYPE_UINT32)
|
||||
return true;
|
||||
|
||||
MDefinition *ptr = convertShiftToMaskForStaticTypedArray(id, viewType);
|
||||
if (!ptr)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user