aboutsummaryrefslogtreecommitdiff
path: root/src/Reflection/SmartCastInterp.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-02-13 18:41:44 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-02-13 18:41:44 -0500
commit1dec2db39e257238146446d122af0d3667575de9 (patch)
treec056a4209317c5e06ee1f431d8d1e1589b60a68b /src/Reflection/SmartCastInterp.v
parent2a6b9920bdbdc58b8f3d9fd843d863cbbc54dea6 (diff)
Add InlineCastInterp.v
Diffstat (limited to 'src/Reflection/SmartCastInterp.v')
-rw-r--r--src/Reflection/SmartCastInterp.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Reflection/SmartCastInterp.v b/src/Reflection/SmartCastInterp.v
index f7d1a1aef..4266deb8a 100644
--- a/src/Reflection/SmartCastInterp.v
+++ b/src/Reflection/SmartCastInterp.v
@@ -11,11 +11,11 @@ Section language.
{op : flat_type base_type_code -> flat_type base_type_code -> Type}
{interp_base_type : base_type_code -> Type}
{interp_op : forall src dst, op src dst -> interp_flat_type interp_base_type src -> interp_flat_type interp_base_type dst}
- (base_type_beq : base_type_code -> base_type_code -> bool)
- (base_type_bl_transparent : forall x y, base_type_beq x y = true -> x = y)
- (Cast : forall var A A', exprf base_type_code op (var:=var) (Tbase A) -> exprf base_type_code op (var:=var) (Tbase A'))
+ {base_type_beq : base_type_code -> base_type_code -> bool}
+ {base_type_bl_transparent : forall x y, base_type_beq x y = true -> x = y}
+ {Cast : forall var A A', exprf base_type_code op (var:=var) (Tbase A) -> exprf base_type_code op (var:=var) (Tbase A')}
(interpf_Cast_id : forall A x, interpf interp_op (Cast _ A A x) = interpf interp_op x)
- (cast_val : forall A A', interp_base_type A -> interp_base_type A')
+ {cast_val : forall A A', interp_base_type A -> interp_base_type A'}
(interpf_cast : forall A A' e, interpf interp_op (Cast _ A A' e) = cast_val A A' (interpf interp_op e)).
Local Notation exprf := (@exprf base_type_code op).