File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
wasm/src/org.graalvm.wasm.jdk25/src/org/graalvm/wasm/api Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ private I16X8Shape() {
135135
136136 @ Override
137137 public ShortVector reinterpret (ByteVector bytes ) {
138- return castShort128 (bytes .reinterpretAsShorts ());
138+ return castShort128 (castByte128 ( bytes ) .reinterpretAsShorts ());
139139 }
140140
141141 @ Override
@@ -167,7 +167,7 @@ private I32X4Shape() {
167167
168168 @ Override
169169 public IntVector reinterpret (ByteVector bytes ) {
170- return castInt128 (bytes .reinterpretAsInts ());
170+ return castInt128 (castByte128 ( bytes ) .reinterpretAsInts ());
171171 }
172172
173173 @ Override
@@ -199,7 +199,7 @@ private I64X2Shape() {
199199
200200 @ Override
201201 public LongVector reinterpret (ByteVector bytes ) {
202- return castLong128 (bytes .reinterpretAsLongs ());
202+ return castLong128 (castByte128 ( bytes ) .reinterpretAsLongs ());
203203 }
204204
205205 @ Override
@@ -227,7 +227,7 @@ private F32X4Shape() {
227227
228228 @ Override
229229 public FloatVector reinterpret (ByteVector bytes ) {
230- return castFloat128 (bytes .reinterpretAsFloats ());
230+ return castFloat128 (castByte128 ( bytes ) .reinterpretAsFloats ());
231231 }
232232
233233 @ Override
@@ -268,7 +268,7 @@ private F64X2Shape() {
268268
269269 @ Override
270270 public DoubleVector reinterpret (ByteVector bytes ) {
271- return castDouble128 (bytes .reinterpretAsDoubles ());
271+ return castDouble128 (castByte128 ( bytes ) .reinterpretAsDoubles ());
272272 }
273273
274274 @ Override
You can’t perform that action at this time.
0 commit comments