Skip to content

Commit

Permalink
Ne pas virer le setglobal qd on elimine le code mort
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
xavierleroy committed Nov 28, 1995
1 parent d3397b6 commit 5e0f79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bytecomp/bytegen.ml
Expand Up @@ -78,7 +78,7 @@ let make_branch cont =

let rec discard_dead_code = function
[] -> []
| (Klabel _ | Krestart) :: _ as cont -> cont
| (Klabel _ | Krestart | Ksetglobal _) :: _ as cont -> cont
| _ :: cont -> discard_dead_code cont

(* Check if we're in tailcall position *)
Expand Down

0 comments on commit 5e0f79b

Please sign in to comment.