Skip to content

Commit 4c0eb6d

Browse files
committed
Rebase fixes
1 parent 7d94148 commit 4c0eb6d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

backend/cmm_helpers.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4137,7 +4137,7 @@ let dls_get ~dbg = Cop (Cdls_get, [], dbg)
41374137

41384138
let perform ~dbg eff =
41394139
let cont =
4140-
make_alloc dbg Runtimetags.cont_tag
4140+
make_alloc dbg ~tag:Runtimetags.cont_tag
41414141
[int_const dbg 0]
41424142
~mode:Lambda.alloc_heap
41434143
in

middle_end/flambda2/simplify/simplify_static_const.ml

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ open! Flambda.Import
1818
open! Simplify_import
1919

2020
let simplify_field_of_block dacc (field, kind) =
21-
let ty =
21+
let ty, simple =
2222
S.simplify_simple dacc
2323
(Simple.With_debuginfo.simple field)
2424
~min_name_mode:Name_mode.normal
2525
in
2626
let field =
27-
Simple.With_debuginfo.create (T.get_alias_exn ty)
28-
(Simple.With_debuginfo.dbg field)
27+
Simple.With_debuginfo.create simple (Simple.With_debuginfo.dbg field)
2928
in
3029
(* XXX double-check this can be a compile-time failure *)
3130
if not (K.equal (T.kind ty) kind)

0 commit comments

Comments
 (0)