This commit is contained in:
radrow
2022-07-03 18:26:25 +02:00
parent c0330be3b4
commit 03e53f60cd
+2 -2
View File
@@ -1790,9 +1790,9 @@ tweak_returns(Code) -> Code.
crop_jumps(Code) ->
crop_jumps(Code, []).
crop_jumps([], Acc) ->
lists:reverse(Acc);
Acc;
crop_jumps([I = {jump, _}|_], Acc) ->
lists:reverse([I|Acc]);
[I|Acc];
crop_jumps([I|Code], Acc) ->
crop_jumps(Code, [I|Acc]).