Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index 9a87f0ff95f5844c90bbec6a85aab7b8d242bb1a..9f46041c36f26c7c255ee460c95cd59fd70e72fb 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -589,8 +589,8 @@ class LocalDeclEncoder { |
// Simd Operations. |
//------------------------------------------------------------------------------ |
#define WASM_SIMD_I32x4_SPLAT(x) x, kSimdPrefix, kExprI32x4Splat & 0xff |
-#define WASM_SIMD_I32x4_EXTRACT_LANE(x, y) \ |
- x, y, kSimdPrefix, kExprI32x4ExtractLane & 0xff |
+#define WASM_SIMD_I32x4_EXTRACT_LANE(lane, x) \ |
+ x, kSimdPrefix, kExprI32x4ExtractLane & 0xff, static_cast<byte>(lane) |
#define SIG_ENTRY_v_v kWasmFunctionTypeForm, 0, 0 |
#define SIZEOF_SIG_ENTRY_v_v 3 |