Skip to content

Commit

Permalink
Unit
Browse files Browse the repository at this point in the history
  • Loading branch information
chambart committed Oct 7, 2024
1 parent 9441d3b commit d69dbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/emit_wat.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ module ToWasm = struct

let gvar v = Global.name v

let unit = Cst.node "i31.new" [ C.i32 0l ]
let unit = Cst.node "ref.i31" [ C.i32 0l ]

let nn_name (nn : Expr.nn) = match nn with S32 -> "32" | S64 -> "64"

Expand Down

0 comments on commit d69dbb9

Please sign in to comment.