aboutsummaryrefslogtreecommitdiffstats
path: root/x86
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2022-08-25 15:49:21 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2022-09-03 10:41:30 +0200
commitd5fda4fde03571e6dbc46729767924be7ac41920 (patch)
treee69a0b4b4b6ee32b0fa8f655194f024739405cbd /x86
parentad6467099ac7147040c59c022635e61370168568 (diff)
downloadcompcert-d5fda4fde03571e6dbc46729767924be7ac41920.tar.gz
compcert-d5fda4fde03571e6dbc46729767924be7ac41920.zip
More simplifications for literal printing
Use the same code to split 64 bit literals into two 32 bit halfs as is used for 64 bit initialization data and print them in PrintAsm. This removes the need for a target specific printing function for 64 bit literals.
Diffstat (limited to 'x86')
-rw-r--r--x86/TargetPrinter.ml3
1 files changed, 0 insertions, 3 deletions
diff --git a/x86/TargetPrinter.ml b/x86/TargetPrinter.ml
index 50918bfc..dad8d15c 100644
--- a/x86/TargetPrinter.ml
+++ b/x86/TargetPrinter.ml
@@ -858,9 +858,6 @@ module Target(System: SYSTEM):TARGET =
assert false
end
- let print_literal64 oc n lbl =
- fprintf oc "%a: .quad 0x%Lx\n" label lbl n
-
let print_jumptable oc jmptbl =
let print_jumptable (lbl, tbl) =
let print_entry l =