diff options
author | Soni L <EnderMoneyMod@gmail.com> | 2020-12-14 16:25:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 11:25:41 -0800 |
commit | 669d09305c17aedbcdfd3c86d8c65ac003600bc9 (patch) | |
tree | 35fe6bf6149fd400c7d21051d67fbce65f4495c4 | |
parent | ed647324744cbc3da86eb737af4a9d9262314789 (diff) | |
download | wabt-669d09305c17aedbcdfd3c86d8c65ac003600bc9.tar.gz wabt-669d09305c17aedbcdfd3c86d8c65ac003600bc9.tar.bz2 wabt-669d09305c17aedbcdfd3c86d8c65ac003600bc9.zip |
Fix #1575 wasm2c: i64_load16_u not being used (#1589)
-rw-r--r-- | src/c-writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index 96ca2980..843abf26 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -1981,7 +1981,7 @@ void CWriter::Write(const LoadExpr& expr) { case Opcode::I32Load16S: func = "i32_load16_s"; break; case Opcode::I64Load16S: func = "i64_load16_s"; break; case Opcode::I32Load16U: func = "i32_load16_u"; break; - case Opcode::I64Load16U: func = "i32_load16_u"; break; + case Opcode::I64Load16U: func = "i64_load16_u"; break; case Opcode::I64Load32S: func = "i64_load32_s"; break; case Opcode::I64Load32U: func = "i64_load32_u"; break; |