aboutsummaryrefslogtreecommitdiffstats
path: root/x86
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-11-08 10:52:26 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-11-08 10:52:26 +0100
commit90f4de67b8cd1ac753d099100d4612cc3eabe4f1 (patch)
tree9c8627eb73d56f2247039c36c2e73df5388f9420 /x86
parent9e9c57616c9cf683ed65b1ba60510b8ae8066700 (diff)
downloadcompcert-kvx-90f4de67b8cd1ac753d099100d4612cc3eabe4f1.tar.gz
compcert-kvx-90f4de67b8cd1ac753d099100d4612cc3eabe4f1.zip
Fix jumptable issue.
Instead of using reset_constants use reset_literals which avoids emptying the jumptables. Bug 22525
Diffstat (limited to 'x86')
-rw-r--r--x86/TargetPrinter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86/TargetPrinter.ml b/x86/TargetPrinter.ml
index 52c2de49..b685c4cb 100644
--- a/x86/TargetPrinter.ml
+++ b/x86/TargetPrinter.ml
@@ -878,7 +878,7 @@ module Target(System: SYSTEM):TARGET =
print_align oc 8;
Hashtbl.iter (print_literal64 oc) literal64_labels;
Hashtbl.iter (print_literal32 oc) literal32_labels;
- reset_constants ()
+ reset_literals ()
end
let cfi_startproc = cfi_startproc