Skip to content

Commit

Permalink
fix typo (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya authored Nov 15, 2023
1 parent 989d8bc commit 57c7f79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pykwasm/src/pykwasm/kwasm_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def CALL_INDIRECT(type_idx: int) -> KInner:
I32_EXTEND8_s = KApply('aExtendS', [i32, KApply('aExtend8_s', [])])
I32_EXTEND16_s = KApply('aExtendS', [i32, KApply('aExtend16_s', [])])
I64_EXTEND8_s = KApply('aExtendS', [i32, KApply('aExtend8_s', [])])
I64_EXTEND8_s = KApply('aExtendS', [i32, KApply('aExtend16_s', [])])
I64_EXTEND8_s = KApply('aExtendS', [i32, KApply('aExtend32_s', [])])
I64_EXTEND16_s = KApply('aExtendS', [i32, KApply('aExtend16_s', [])])
I64_EXTEND32_s = KApply('aExtendS', [i32, KApply('aExtend32_s', [])])

###############
# Float BinOp #
Expand Down
8 changes: 5 additions & 3 deletions pykwasm/src/tests/integration/binary/instrs.wat
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
;; Commented out instructions are not currently supported by py-wasm.
i32.const 0 drop
f32.const 0 drop
;; i32.extend8_s drop
;; i32.extend16_s drop
;; i64.extend32_s drop
i32.extend8_s drop
i32.extend16_s drop
i64.extend8_s drop
i64.extend16_s drop
i64.extend32_s drop
i32.wrap_i64 drop
i64.extend_i32_s drop
i64.extend_i32_u drop
Expand Down

0 comments on commit 57c7f79

Please sign in to comment.