aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/Asmgen.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-10-16 18:37:06 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-10-16 18:37:06 +0200
commita7d7fff55965bae9abc341156719f8828597f7da (patch)
tree2cfc4bf2c5d029583ed8cb70dd815c791d76395e /riscV/Asmgen.v
parentd4e2f7b715b21efe0d693415ab63dad5a22afa92 (diff)
downloadcompcert-kvx-a7d7fff55965bae9abc341156719f8828597f7da.tar.gz
compcert-kvx-a7d7fff55965bae9abc341156719f8828597f7da.zip
fix compile for rv32
Diffstat (limited to 'riscV/Asmgen.v')
-rw-r--r--riscV/Asmgen.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscV/Asmgen.v b/riscV/Asmgen.v
index a704ed74..631693b9 100644
--- a/riscV/Asmgen.v
+++ b/riscV/Asmgen.v
@@ -25,6 +25,8 @@ Require Import Op Locations Mach Asm.
Local Open Scope string_scope.
Local Open Scope error_monad_scope.
+Definition time {A B: Type} (name: string) (f: A -> B) : A -> B := f.
+
(** The code generation functions take advantage of several
characteristics of the [Mach] code generated by earlier passes of the
compiler, mostly that argument and result registers are of the correct