Skip to content

Commit 0cf07e0

Browse files
committed
fmt
1 parent b9f2198 commit 0cf07e0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

compiler/lib/inline.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ let inline closures live_vars outer_optimizable pc (blocks, free_pc) =
257257
&& Primitive.has_arity prim len
258258
&& args_equal l args
259259
then
260-
Let (x, Prim (Extern "%closure", [ Pc (NativeString prim) ])) :: rem, state
260+
( Let (x, Prim (Extern "%closure", [ Pc (NativeString prim) ])) :: rem
261+
, state )
261262
else i :: rem, state
262263
| _ -> i :: rem, state)
263264
| _ -> i :: rem, state)

compiler/lib/pseudo_fs.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ let find_cmi paths base =
8585

8686
let instr_of_name_content prim ~name ~content =
8787
let open Code in
88-
Let (Var.fresh (), Prim (Extern prim, [ Pc (NativeString name); Pc (NativeString content) ]))
88+
Let
89+
( Var.fresh ()
90+
, Prim (Extern prim, [ Pc (NativeString name); Pc (NativeString content) ]) )
8991

9092
let embed_file ~name ~filename =
9193
instr_of_name_content "caml_create_file_extern" ~name ~content:(Fs.read_file filename)

0 commit comments

Comments
 (0)