aboutsummaryrefslogtreecommitdiffstats
path: root/arm
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-03-14 11:25:50 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2015-03-14 11:25:50 +0100
commit42e397bd80389c7e7259f962415769b06561bb5d (patch)
tree87252fc26eb8a2ae712837bece7443ce75a6e653 /arm
parent263e5f9049a9151134f9852acddf8ae0e5f90990 (diff)
downloadcompcert-42e397bd80389c7e7259f962415769b06561bb5d.tar.gz
compcert-42e397bd80389c7e7259f962415769b06561bb5d.zip
Missing initialization of current_function_sig.
Diffstat (limited to 'arm')
-rw-r--r--arm/TargetPrinter.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm/TargetPrinter.ml b/arm/TargetPrinter.ml
index 62dd2bc2..84cdb597 100644
--- a/arm/TargetPrinter.ml
+++ b/arm/TargetPrinter.ml
@@ -1073,6 +1073,7 @@ module Target (Opt: PRINTER_OPTIONS) : TARGET =
align
let print_instructions oc fn =
+ current_function_sig := fn.fn_sig;
ignore (fixup_arguments oc Incoming fn.fn_sig);
print_instructions oc fn.fn_code;
if !literals_in_code then emit_constants oc