Fix leftover NeverJoin

Summary: D22817425 forgot to remove `NeverJoin`. Strange that CI didn't detect it :(

Reviewed By: mityal

Differential Revision: D22839452

fbshipit-source-id: dba7b078a
master
Ezgi Çiçek 4 years ago committed by Facebook GitHub Bot
parent 577d4679da
commit 444ccc4940

@ -184,10 +184,7 @@ struct
let exec_instr pre_disjuncts analysis_data node instr = let exec_instr pre_disjuncts analysis_data node instr =
List.foldi pre_disjuncts ~init:[] ~f:(fun i post_disjuncts pre_disjunct -> List.foldi pre_disjuncts ~init:[] ~f:(fun i post_disjuncts pre_disjunct ->
let should_skip = let should_skip =
match DConfig.join_policy with let (`UnderApproximateAfter n) = DConfig.join_policy in
| `NeverJoin ->
false
| `UnderApproximateAfter n ->
List.length post_disjuncts >= n List.length post_disjuncts >= n
in in
if should_skip then ( if should_skip then (

Loading…
Cancel
Save