aboutsummaryrefslogtreecommitdiffstats
path: root/aarch64/Asmexpand.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2019-12-11 14:10:32 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2019-12-11 14:10:32 +0100
commit54fb9faab6a53fad126fd57c3d58b232ff181cd1 (patch)
tree75507067dd2923f689732ee48bd60ec4f6fe93f3 /aarch64/Asmexpand.ml
parentec49c7b8bd4502c380b88c78baa674000db109fd (diff)
downloadcompcert-kvx-54fb9faab6a53fad126fd57c3d58b232ff181cd1.tar.gz
compcert-kvx-54fb9faab6a53fad126fd57c3d58b232ff181cd1.zip
The SP register has dwarf register number 31.
Diffstat (limited to 'aarch64/Asmexpand.ml')
-rw-r--r--aarch64/Asmexpand.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/aarch64/Asmexpand.ml b/aarch64/Asmexpand.ml
index 55922e9e..471ad501 100644
--- a/aarch64/Asmexpand.ml
+++ b/aarch64/Asmexpand.ml
@@ -435,7 +435,7 @@ let preg_to_dwarf = function
let expand_function id fn =
try
set_current_function fn;
- expand id (* sp= *) 2 preg_to_dwarf expand_instruction fn.fn_code;
+ expand id (* sp= *) 31 preg_to_dwarf expand_instruction fn.fn_code;
Errors.OK (get_current_function ())
with Error s ->
Errors.Error (Errors.msg (coqstring_of_camlstring s))