change LOC ins pretty printer

This commit is contained in:
tali 2023-12-07 12:54:17 -05:00
parent 10f5a5a6e2
commit 898cf7380c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ let pp_ins ~label ppf = function
| NOT (a, b) -> Fmt.pf ppf "not %a, %a" pp_reg a pp_reg b | NOT (a, b) -> Fmt.pf ppf "not %a, %a" pp_reg a pp_reg b
| GET (a, b, c) -> Fmt.pf ppf "mov %a, %a[%a]" pp_reg a pp_reg b pp_reg c | GET (a, b, c) -> Fmt.pf ppf "mov %a, %a[%a]" pp_reg a pp_reg b pp_reg c
| SET (a, b, c) -> Fmt.pf ppf "mov %a[%a], %a" pp_reg b pp_reg c pp_reg a | SET (a, b, c) -> Fmt.pf ppf "mov %a[%a], %a" pp_reg b pp_reg c pp_reg a
| LOC (a, b, el) -> Fmt.pf ppf "mov %a, &%a.%s" pp_reg a pp_reg b el | LOC (a, b, el) -> Fmt.pf ppf "loc %a, %a.%s" pp_reg a pp_reg b el
| CON (a, vt) -> Fmt.pf ppf "con %a, %a" pp_reg a pp_vtable vt | CON (a, vt) -> Fmt.pf ppf "con %a, %a" pp_reg a pp_vtable vt
| CAL (a, b, c, ds) -> | CAL (a, b, c, ds) ->
Fmt.pf ppf "cal %a, %a[%a](" pp_reg a pp_reg b pp_reg c; Fmt.pf ppf "cal %a, %a[%a](" pp_reg a pp_reg b pp_reg c;