aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsm.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-11-06 09:56:21 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-11-06 09:56:21 +0100
commit43b557ce847b56c1cfae2081c7585191043a85b6 (patch)
tree78297076b1f3a704372b91ba9e6419f984d94043 /backend/PrintAsm.ml
parent0c00ace3c8981516ef02bc49f4e616e4cb485124 (diff)
downloadcompcert-kvx-43b557ce847b56c1cfae2081c7585191043a85b6.tar.gz
compcert-kvx-43b557ce847b56c1cfae2081c7585191043a85b6.zip
Remove superfluous function.
The new_label function is alway equal to PrintAsmaux.new_label. Bug 22472
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r--backend/PrintAsm.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index 465b8791..3072bff3 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -23,8 +23,8 @@ module Printer(Target:TARGET) =
struct
let get_fun_addr name txt =
- let s = Target.new_label ()
- and e = Target.new_label () in
+ let s = new_label ()
+ and e = new_label () in
Debug.add_fun_addr name txt (e,s);
s,e