We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5747ac5 commit 2dfa233Copy full SHA for 2dfa233
compiler/lib-wasm/call_graph_analysis.ml
@@ -15,11 +15,11 @@ let block_deps ~info ~non_escaping ~ambiguous ~blocks pc =
15
let block = Addr.Map.find pc blocks in
16
List.iter block.body ~f:(fun i ->
17
match i with
18
- | Let (_, Apply { f; _ }) -> (
+ | Let (_, Apply { f; exact; _ }) -> (
19
match get_approx info f with
20
| Top -> ()
21
| Values { known; others } ->
22
- if others || Var.Set.cardinal known > 1
+ if (not exact) || others || Var.Set.cardinal known > 1
23
then Var.Set.iter (fun x -> Var.Hashtbl.replace ambiguous x ()) known;
24
if debug ()
25
then
0 commit comments