|
|
@ -134,12 +134,11 @@ module UncheckedCalleesCond = struct
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let filter_known_expensive fields_map =
|
|
|
|
let filter_known_expensive fields_map =
|
|
|
|
fold
|
|
|
|
filter_map
|
|
|
|
(fun fields callees acc ->
|
|
|
|
(fun _ callees ->
|
|
|
|
let expensive_callees = UncheckedCallees.filter_known_expensive callees in
|
|
|
|
let expensive_callees = UncheckedCallees.filter_known_expensive callees in
|
|
|
|
if UncheckedCallees.is_empty expensive_callees then acc
|
|
|
|
Option.some_if (not (UncheckedCallees.is_empty expensive_callees)) expensive_callees )
|
|
|
|
else add fields expensive_callees acc )
|
|
|
|
fields_map
|
|
|
|
fields_map empty
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
module Loc = struct
|
|
|
|
module Loc = struct
|
|
|
|