Skip to content

Commit c09c641

Browse files
committed
Compiler: fix invariant
1 parent 3695d26 commit c09c641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/lib/inline.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,5 +659,6 @@ let f ~profile p live_vars =
659659
if stats () then Format.eprintf "Stats - inlining: %d inlined functions@." !inline_count;
660660
if debug_stats ()
661661
then Code.check_updates ~name:"inline" previous_p p ~updates:!inline_count;
662+
let p = Deadcode.remove_unused_blocks p in
662663
Code.invariant p;
663664
p

0 commit comments

Comments
 (0)