aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/PrintBTL.ml
diff options
context:
space:
mode:
Diffstat (limited to 'scheduling/PrintBTL.ml')
-rw-r--r--scheduling/PrintBTL.ml13
1 files changed, 0 insertions, 13 deletions
diff --git a/scheduling/PrintBTL.ml b/scheduling/PrintBTL.ml
index 52178064..89254301 100644
--- a/scheduling/PrintBTL.ml
+++ b/scheduling/PrintBTL.ml
@@ -116,16 +116,3 @@ let print_btl_code pp btl =
(PTree.elements btl);
fprintf pp "\n")
else ()
-
-(* TODO gourdinl remove or adapt this?
-let print_function pp id f =
- fprintf pp "%s(%a) {\n" (extern_atom id) regs f.fn_params;
- let instrs = List.map (fun (n, i) -> i.entry) (PTree.elements f.fn_code) in
- List.iter (print_iblock pp true "") instrs;
- fprintf pp "}\n\n"
-
-let print_globdef pp (id, gd) =
- match gd with Gfun (Internal f) -> print_function pp id f | _ -> ()
-
-let print_program pp (prog : BTL.program) =
- List.iter (print_globdef pp) prog.prog_defs*)