Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 56c9319

Browse files
authored
Merge pull request #116 from alexcrichton/wasm-fix
[WebAssembly] Fix the opcode number for i64.load16_u.
2 parents ff78b27 + 46c9cc3 commit 56c9319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/WebAssembly/WebAssemblyInstrMemory.td

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def LOAD16_U_I32 : WebAssemblyLoad<I32, "i32.load16_u", 0x2f>;
151151
def LOAD8_S_I64 : WebAssemblyLoad<I64, "i64.load8_s", 0x30>;
152152
def LOAD8_U_I64 : WebAssemblyLoad<I64, "i64.load8_u", 0x31>;
153153
def LOAD16_S_I64 : WebAssemblyLoad<I64, "i64.load16_s", 0x32>;
154-
def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x32>;
154+
def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x33>;
155155
def LOAD32_S_I64 : WebAssemblyLoad<I64, "i64.load32_s", 0x34>;
156156
def LOAD32_U_I64 : WebAssemblyLoad<I64, "i64.load32_u", 0x35>;
157157

0 commit comments

Comments
 (0)