From 90f4de67b8cd1ac753d099100d4612cc3eabe4f1 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 8 Nov 2017 10:52:26 +0100 Subject: Fix jumptable issue. Instead of using reset_constants use reset_literals which avoids emptying the jumptables. Bug 22525 --- riscV/TargetPrinter.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscV/TargetPrinter.ml') diff --git a/riscV/TargetPrinter.ml b/riscV/TargetPrinter.ml index 4b976e17..19d8103b 100644 --- a/riscV/TargetPrinter.ml +++ b/riscV/TargetPrinter.ml @@ -149,7 +149,7 @@ module Target : TARGET = fprintf oc "%a: .long 0x%lx\n" label lbl bf) literal32_labels end; - reset_constants () + reset_literals () end (* Generate code to load the address of id + ofs in register r *) -- cgit