@@ -1720,6 +1720,11 @@ module Ullbc = struct
17201720 let * on_unwind = block_id_of_postcard ctx st in
17211721 Ok (Drop (kind, place, fn_ptr, target, on_unwind))
17221722 | 4 ->
1723+ let * place = place_of_postcard ctx st in
1724+ let * target = block_id_of_postcard ctx st in
1725+ let * on_unwind = block_id_of_postcard ctx st in
1726+ Ok (DropEmptyBox (place, target, on_unwind))
1727+ | 5 ->
17231728 let * asm = inline_asm_of_postcard ctx st in
17241729 let * fallthrough = option_of_postcard block_id_of_postcard ctx st in
17251730 let * labels =
@@ -1728,19 +1733,19 @@ module Ullbc = struct
17281733 in
17291734 let * on_unwind = block_id_of_postcard ctx st in
17301735 Ok (InlineAsm (asm, fallthrough, labels, on_unwind))
1731- | 5 ->
1736+ | 6 ->
17321737 let * assert_ = assertion_of_postcard ctx st in
17331738 let * target = block_id_of_postcard ctx st in
17341739 let * on_unwind = block_id_of_postcard ctx st in
17351740 Ok (TAssert (assert_, target, on_unwind))
1736- | 6 ->
1741+ | 7 ->
17371742 let * name = name_of_postcard ctx st in
17381743 let * on_unwind = block_id_of_postcard ctx st in
17391744 Ok (Panic (name, on_unwind))
1740- | 7 -> Ok UnwindTerminate
1741- | 8 -> Ok UnwindResume
1742- | 9 -> Ok Return
1743- | 10 -> Ok UndefinedBehavior
1745+ | 8 -> Ok UnwindTerminate
1746+ | 9 -> Ok UnwindResume
1747+ | 10 -> Ok Return
1748+ | 11 -> Ok UndefinedBehavior
17441749 | _ -> Error (" unknown enum variant tag: " ^ string_of_int __tag))
17451750
17461751 and unwind_kind_of_postcard (ctx : of_postcard_ctx ) (st : postcard_state ) :
@@ -1818,11 +1823,15 @@ module Llbc = struct
18181823 let * on_unwind = block_of_postcard ctx st in
18191824 Ok (Drop (place, fn_ptr, kind, on_unwind))
18201825 | 7 ->
1826+ let * place = place_of_postcard ctx st in
1827+ let * on_unwind = block_of_postcard ctx st in
1828+ Ok (DropEmptyBox (place, on_unwind))
1829+ | 8 ->
18211830 let * assert_ = assertion_of_postcard ctx st in
18221831 let * on_failure = abort_kind_of_postcard ctx st in
18231832 let * on_unwind = block_of_postcard ctx st in
18241833 Ok (Assert (assert_, on_failure, on_unwind))
1825- | 8 ->
1834+ | 9 ->
18261835 let * asm = inline_asm_of_postcard ctx st in
18271836 let * fallthrough = option_of_postcard block_of_postcard ctx st in
18281837 let * labels =
@@ -1831,36 +1840,36 @@ module Llbc = struct
18311840 in
18321841 let * on_unwind = block_of_postcard ctx st in
18331842 Ok (InlineAsm (asm, fallthrough, labels, on_unwind))
1834- | 9 ->
1843+ | 10 ->
18351844 let * call = call_of_postcard ctx st in
18361845 let * dest = place_of_postcard ctx st in
18371846 let * on_unwind = block_of_postcard ctx st in
18381847 Ok (Call (call, dest, on_unwind))
1839- | 10 ->
1848+ | 11 ->
18401849 let * data = switch_data_of_postcard ctx st in
18411850 let * branches =
18421851 index_vec_of_postcard branch_id_of_postcard block_of_postcard ctx
18431852 st
18441853 in
18451854 Ok (Switch (data, branches))
1846- | 11 ->
1855+ | 12 ->
18471856 let * _0 = block_of_postcard ctx st in
18481857 Ok (Loop _0)
1849- | 12 ->
1858+ | 13 ->
18501859 let * _0 = usize_of_postcard ctx st in
18511860 Ok (Break _0)
1852- | 13 ->
1861+ | 14 ->
18531862 let * _0 = usize_of_postcard ctx st in
18541863 Ok (Continue _0)
1855- | 14 ->
1864+ | 15 ->
18561865 let * name = name_of_postcard ctx st in
18571866 let * on_unwind = block_of_postcard ctx st in
18581867 Ok (Panic (name, on_unwind))
1859- | 15 -> Ok UnwindTerminate
1860- | 16 -> Ok UnwindResume
1861- | 17 -> Ok Return
1862- | 18 -> Ok UndefinedBehavior
1863- | 19 -> Ok Nop
1868+ | 16 -> Ok UnwindTerminate
1869+ | 17 -> Ok UnwindResume
1870+ | 18 -> Ok Return
1871+ | 19 -> Ok UndefinedBehavior
1872+ | 20 -> Ok Nop
18641873 | _ -> Error (" unknown enum variant tag: " ^ string_of_int __tag))
18651874end
18661875
0 commit comments