File tree 4 files changed +3
-13
lines changed
4 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -318,11 +318,6 @@ and lambda_switch =
318
318
319
319
320
320
321
- type program =
322
- { module_ident : Ident .t ;
323
- main_module_block_size : int ;
324
- required_globals : Ident.Set .t ;
325
- code : lambda }
326
321
327
322
(* This is actually a dummy value
328
323
not necessary "()", it can be used as a place holder for module
Original file line number Diff line number Diff line change @@ -321,12 +321,7 @@ and lambda_switch =
321
321
sw_names : switch_names option }
322
322
323
323
324
- type program =
325
- { module_ident : Ident .t ;
326
- main_module_block_size : int ;
327
- required_globals : Ident.Set .t ; (* Modules whose initializer side effects
328
- must occur before [code]. *)
329
- code : lambda }
324
+
330
325
(* Lambda code for the middle-end.
331
326
* In the closure case the code is a sequence of assignments to a
332
327
preallocated block of size [main_module_block_size] using
Original file line number Diff line number Diff line change @@ -464,4 +464,4 @@ let structured_constant = struct_const
464
464
465
465
let lambda = lam
466
466
467
- let program ppf { code } = lambda ppf code
467
+
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ open Format
19
19
20
20
val structured_constant : formatter -> structured_constant -> unit
21
21
val lambda : formatter -> lambda -> unit
22
- val program : formatter -> program -> unit
22
+
23
23
val primitive : formatter -> primitive -> unit
24
24
val name_of_primitive : primitive -> string
25
25
val value_kind : value_kind -> string
You can’t perform that action at this time.
0 commit comments