Skip to content

Commit c8df985

Browse files
committed
More precise global flow analysis with --opt 2
1 parent 073e5c0 commit c8df985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/lib/driver.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ let exact_calls profile ~deadcode_sentinal p =
128128
| `Disabled | `Jspi ->
129129
let fast =
130130
match profile with
131-
| O3 -> false
132-
| O1 | O2 -> true
131+
| O2 | O3 -> false
132+
| O1 -> true
133133
in
134134
let info = Global_flow.f ~fast p in
135135
let p =

0 commit comments

Comments
 (0)