From a7d7fff55965bae9abc341156719f8828597f7da Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 16 Oct 2019 18:37:06 +0200 Subject: fix compile for rv32 --- riscV/Asmgen.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'riscV/Asmgen.v') 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 -- cgit