aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Inliningspec.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-01-29 09:10:29 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-01-29 09:10:29 +0000
commit056068abd228fefab4951a61700aa6d54fb88287 (patch)
tree6bf44526caf535e464e33999641b39032901fa67 /backend/Inliningspec.v
parent34d58b781afec8ecd4afdcf2ab83f1c972338ba9 (diff)
downloadcompcert-kvx-056068abd228fefab4951a61700aa6d54fb88287.tar.gz
compcert-kvx-056068abd228fefab4951a61700aa6d54fb88287.zip
Ported to Coq 8.4pl1. Merge of branches/coq-8.4.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2101 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Inliningspec.v')
-rw-r--r--backend/Inliningspec.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/Inliningspec.v b/backend/Inliningspec.v
index 014986d7..06826c24 100644
--- a/backend/Inliningspec.v
+++ b/backend/Inliningspec.v
@@ -498,7 +498,7 @@ Proof.
(* tailcall *)
destruct (can_inline fe s1) as [|id f P Q].
(* not inlined *)
- destruct (retinfo ctx) as [[rpc rreg] | ]_eqn.
+ destruct (retinfo ctx) as [[rpc rreg] | ] eqn:?.
(* turned into a call *)
eapply tr_tailcall_call; eauto.
(* preserved *)
@@ -526,7 +526,7 @@ Proof.
red; simpl. subst s2; simpl in *; xomega.
red; auto.
(* return *)
- destruct (retinfo ctx) as [[rpc rreg] | ]_eqn.
+ destruct (retinfo ctx) as [[rpc rreg] | ] eqn:?.
(* inlined *)
eapply tr_return_inlined; eauto.
(* unchanged *)
@@ -671,7 +671,7 @@ Lemma transf_function_spec:
forall f f', transf_function fenv f = OK f' -> tr_function f f'.
Proof.
intros. unfold transf_function in H.
- destruct (expand_function fenv f initstate) as [ctx s i]_eqn.
+ destruct (expand_function fenv f initstate) as [ctx s i] eqn:?.
destruct (zle (st_stksize s) Int.max_unsigned); inv H.
monadInv Heqr. set (ctx := initcontext x x0 (max_def_function f) (fn_stacksize f)) in *.
Opaque initstate.