aboutsummaryrefslogtreecommitdiffstats
path: root/arm/NeedOp.v
diff options
context:
space:
mode:
Diffstat (limited to 'arm/NeedOp.v')
-rw-r--r--arm/NeedOp.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm/NeedOp.v b/arm/NeedOp.v
index 41b80941..dee7cae1 100644
--- a/arm/NeedOp.v
+++ b/arm/NeedOp.v
@@ -145,11 +145,11 @@ Qed.
Lemma needs_of_operation_sound:
forall op args v nv args',
- eval_operation ge (Vptr sp Int.zero) op args m = Some v ->
+ eval_operation ge (Vptr sp Ptrofs.zero) op args m = Some v ->
vagree_list args args' (needs_of_operation op nv) ->
nv <> Nothing ->
exists v',
- eval_operation ge (Vptr sp Int.zero) op args' m' = Some v'
+ eval_operation ge (Vptr sp Ptrofs.zero) op args' m' = Some v'
/\ vagree v v' nv.
Proof.
unfold needs_of_operation; intros; destruct op; try (eapply default_needs_of_operation_sound; eauto; fail);
@@ -188,7 +188,7 @@ Qed.
Lemma operation_is_redundant_sound:
forall op nv arg1 args v arg1' args',
operation_is_redundant op nv = true ->
- eval_operation ge (Vptr sp Int.zero) op (arg1 :: args) m = Some v ->
+ eval_operation ge (Vptr sp Ptrofs.zero) op (arg1 :: args) m = Some v ->
vagree_list (arg1 :: args) (arg1' :: args') (needs_of_operation op nv) ->
vagree v arg1' nv.
Proof.