File tree Expand file tree Collapse file tree 2 files changed +0
-41
lines changed Expand file tree Collapse file tree 2 files changed +0
-41
lines changed Original file line number Diff line number Diff line change @@ -164,34 +164,6 @@ let update_register_locations : unit -> unit =
164
164
then log ~indent: 1 " updating %a to %d" Printmach. reg reg color;
165
165
reg.Reg. loc < - Reg color))
166
166
167
- module Split_mode = struct
168
- type t =
169
- | Off
170
- | Naive
171
-
172
- let all = [Off ; Naive ]
173
-
174
- let to_string = function Off -> " off" | Naive -> " naive"
175
-
176
- let value =
177
- let available_modes () =
178
- String. concat " , "
179
- (all |> List. map ~f: to_string |> List. map ~f: (Printf. sprintf " %S" ))
180
- in
181
- lazy
182
- (match find_param_value " IRC_SPLIT" with
183
- | None ->
184
- fatal " the IRC_SPLIT parameter is not set (possible values: %s)"
185
- (available_modes () )
186
- | Some id -> (
187
- match String. lowercase_ascii id with
188
- | "off" -> Off
189
- | "naive" -> Naive
190
- | _ ->
191
- fatal " unknown split mode %S (possible values: %s)" id
192
- (available_modes () )))
193
- end
194
-
195
167
module Spilling_heuristics = struct
196
168
type t =
197
169
| Set_choose
Original file line number Diff line number Diff line change @@ -70,19 +70,6 @@ val k : Reg.t -> int
70
70
71
71
val update_register_locations : unit -> unit
72
72
73
- (* CR-soon xclerc for xclerc: remove this module. *)
74
- module Split_mode : sig
75
- type t =
76
- | Off
77
- | Naive
78
-
79
- val all : t list
80
-
81
- val to_string : t -> string
82
-
83
- val value : t Lazy .t
84
- end
85
-
86
73
module Spilling_heuristics : sig
87
74
type t =
88
75
| Set_choose
You can’t perform that action at this time.
0 commit comments