[wasm-simd] Using the correct type from ValueType enum

Change-Id: I145dd2ea5fd2308301ba7e6710f84f276dc70367
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1903809
Reviewed-by: Zhi An Ng <zhin@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#64844}
This commit is contained in:
Milad Farazmand 2019-11-07 17:11:46 +00:00 committed by Commit Bot
parent 1bafcc6b99
commit 43ad81f36b

View File

@ -3737,7 +3737,7 @@ Node* WasmGraphBuilder::LoadTransform(MachineType memtype,
}
#if defined(V8_TARGET_BIG_ENDIAN)
load = BuildChangeEndiannessLoad(load, memtype, wasm::ValueType::kSimd128);
load = BuildChangeEndiannessLoad(load, memtype, wasm::ValueType::kWasmS128);
#endif
if (FLAG_trace_wasm_memory) {