aboutsummaryrefslogtreecommitdiff
path: root/src/Compilers/ZExtended/InlineConstAndOp.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compilers/ZExtended/InlineConstAndOp.v')
-rw-r--r--src/Compilers/ZExtended/InlineConstAndOp.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Compilers/ZExtended/InlineConstAndOp.v b/src/Compilers/ZExtended/InlineConstAndOp.v
index f12f273c9..c1fd77e9d 100644
--- a/src/Compilers/ZExtended/InlineConstAndOp.v
+++ b/src/Compilers/ZExtended/InlineConstAndOp.v
@@ -2,5 +2,9 @@ Require Import Crypto.Compilers.Syntax.
Require Import Crypto.Compilers.InlineConstAndOp.
Require Import Crypto.Compilers.ZExtended.Syntax.
+Definition inline_const_and_opf {var} {t} (e : exprf _ _ t) : @exprf base_type op var t
+ := @inline_const_and_opf base_type op interp_base_type (@interp_op) var (@Const) t e.
+Definition inline_const_and_op {var} {t} (e : expr _ _ t) : @expr base_type op var t
+ := @inline_const_and_op base_type op interp_base_type (@interp_op) var (@Const) t e.
Definition InlineConstAndOp {t} (e : Expr t) : Expr t
:= @InlineConstAndOp base_type op interp_base_type (@interp_op) (@Const) t e.