aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsmaux.ml
diff options
context:
space:
mode:
Diffstat (limited to 'backend/PrintAsmaux.ml')
-rw-r--r--backend/PrintAsmaux.ml6
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/PrintAsmaux.ml b/backend/PrintAsmaux.ml
index c7161615..cc7b33c3 100644
--- a/backend/PrintAsmaux.ml
+++ b/backend/PrintAsmaux.ml
@@ -358,11 +358,7 @@ let write_symbol_pointer oc sym =
then fprintf oc " .8byte %s\n" sym
else fprintf oc " .4byte %s\n" sym;;
-let declare_function oc name =
- fprintf oc " .type %s, @function\n" name;
- fprintf oc " .size %s, . - %s\n" name name;;
-
-let print_profiling_epilogue finalizer_call_method print_profiling_stub oc =
+let print_profiling_epilogue declare_function finalizer_call_method print_profiling_stub oc =
let nr_items = !next_profiling_position in
if nr_items > 0
then