aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Asmexpandaux.ml
diff options
context:
space:
mode:
authorSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2018-11-28 13:16:54 +0100
committerSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2018-11-28 13:16:54 +0100
commit09ebc4ffc4fa22e04e89f47d2f860cc831d6c23c (patch)
tree24e4ab5ea6c71742415afb9867dfe3c6c278fdd8 /backend/Asmexpandaux.ml
parent3af2dc7aaa8c8139ddd26589258f2b289425f591 (diff)
downloadcompcert-kvx-09ebc4ffc4fa22e04e89f47d2f860cc831d6c23c.tar.gz
compcert-kvx-09ebc4ffc4fa22e04e89f47d2f860cc831d6c23c.zip
compilation Asmexpandaux both for x86/ and mppa_k1c/
Diffstat (limited to 'backend/Asmexpandaux.ml')
-rw-r--r--backend/Asmexpandaux.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/Asmexpandaux.ml b/backend/Asmexpandaux.ml
index f5c76925..b1d822db 100644
--- a/backend/Asmexpandaux.ml
+++ b/backend/Asmexpandaux.ml
@@ -15,6 +15,7 @@
pseudo-instructions *)
open Asm
+open Asmaux
open AST
open Camlcoq
@@ -26,7 +27,10 @@ let emit i = current_code := i :: !current_code
(* Generation of fresh labels *)
+(* now imported from Asmaux.ml
let dummy_function = { fn_code = []; fn_sig = signature_main }
+*)
+
let current_function = ref dummy_function
let next_label = ref (None: label option)