diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 1998-11-12 16:53:20 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 1998-11-12 16:53:20 +0000 |
commit | 29ceedb1801b95a9354e1c657e0dea45d0b51925 (patch) | |
tree | 3732f655edf464906d223bc9bc89715c77fbd3f6 /asmcomp/schedgen.ml | |
parent | abe11843e7bba39d2ab0fa25d9b029806f1cc581 (diff) |
Warning de la séquence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'asmcomp/schedgen.ml')
-rw-r--r-- | asmcomp/schedgen.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/asmcomp/schedgen.ml b/asmcomp/schedgen.ml index a42bb4901..7def330bf 100644 --- a/asmcomp/schedgen.ml +++ b/asmcomp/schedgen.ml @@ -5,7 +5,7 @@ (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *) (* *) (* Copyright 1996 Institut National de Recherche en Informatique et *) -(* Automatique. Distributed only by permission. *) +(* en Automatique. Distributed only by permission. *) (* *) (***********************************************************************) @@ -340,7 +340,8 @@ method schedule_fundecl f = | Lop(Icall_imm _ | Itailcall_imm _ | Iextcall(_, _)) -> [||] | Lreturn -> [||] | _ -> i.arg in - List.iter (fun x -> longest_path critical_outputs x; ()) ready_queue; + List.iter (fun x -> let len = longest_path critical_outputs x in ()) + ready_queue; self#reschedule ready_queue 0 (schedule i) end in |