Skip to content

Commit

Permalink
Fix more test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 13, 2025
1 parent 2b3a9d1 commit baaace9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions tests/disas/pulley/br_table.wat
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
;; wasm[0]::function[0]:
;; push_frame
;; br_table32 x2, 3
;; 0x11 // target = 0x18
;; 0x10 // target = 0x17
;; 0x8 // target = 0x13
;; 0xe // target = 0x1d
;; 13: xconst8 x0, 1
;; 0xd // target = 0x1c
;; 13: xone x0
;; pop_frame
;; ret
;; 18: xconst8 x0, 2
;; 1b: pop_frame
;; 1c: ret
;; 1d: xconst8 x0, 0
;; 20: pop_frame
;; 21: ret
;; 17: xconst8 x0, 2
;; 1a: pop_frame
;; 1b: ret
;; 1c: xzero x0
;; 1e: pop_frame
;; 1f: ret
2 changes: 1 addition & 1 deletion tests/disas/pulley/epoch-simple.wat
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
;; br_if_xulteq64 x6, x7, 0x9 // target = 0x1a
;; 18: pop_frame
;; ret
;; 1a: call 0x9f // target = 0xb9
;; 1a: call 0x9c // target = 0xb6
;; 1f: jump 0xfffffffffffffff9 // target = 0x18
8 changes: 4 additions & 4 deletions tests/disas/pulley/memory-inbounds.wat
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@
;;
;; wasm[0]::function[8]::maybe_inbounds_v2:
;; push_frame
;; xconst8 x7, 0
;; xzero x7
;; xconst32 x8, 131072
;; xadd64_uoverflow_trap x7, x7, x8
;; xload64le_offset8 x8, x0, 104
;; br_if_xult64 x8, x7, 0x14 // target = 0x27
;; 1a: xload64le_offset8 x8, x0, 96
;; br_if_xult64 x8, x7, 0x14 // target = 0x26
;; 19: xload64le_offset8 x8, x0, 96
;; xload32le_offset32 x0, x8, 131068
;; pop_frame
;; ret
;; 27: trap
;; 26: trap
;;
;; wasm[0]::function[9]::never_inbounds:
;; push_frame
Expand Down

0 comments on commit baaace9

Please sign in to comment.