Skip to content

Commit

Permalink
Remove special Undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole committed Oct 2, 2024
1 parent 9e6575c commit a29bb83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/lib/wasm/wa_generate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ module Generate (Target : Wa_target_sig.S) = struct
~cps:(Var.Set.mem x ctx.in_cps)
x
| Constant c -> Constant.translate c
| Special Undefined -> Constant.translate (Int 0l)
| Special (Alias_prim _) -> assert false
| Prim (Extern "caml_alloc_dummy_function", [ _; Pc (Int arity) ])
when Poly.(target = `GC) ->
Expand Down

0 comments on commit a29bb83

Please sign in to comment.