aboutsummaryrefslogtreecommitdiffstats
path: root/backend/CSE3proof.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-14 08:00:06 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-14 08:00:06 +0100
commit71a3e11b500713b53f13fe64b87ebeb1c9c6e312 (patch)
tree4508aefe3368787ee1c0ab47a8924ef2fe1bf398 /backend/CSE3proof.v
parent8b9a4cb340bc135da9907c7d313caa11d078cb16 (diff)
downloadcompcert-kvx-71a3e11b500713b53f13fe64b87ebeb1c9c6e312.tar.gz
compcert-kvx-71a3e11b500713b53f13fe64b87ebeb1c9c6e312.zip
Ijumptable
Diffstat (limited to 'backend/CSE3proof.v')
-rw-r--r--backend/CSE3proof.v7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/CSE3proof.v b/backend/CSE3proof.v
index 8a49fe87..cd129cb2 100644
--- a/backend/CSE3proof.v
+++ b/backend/CSE3proof.v
@@ -652,9 +652,10 @@ Proof.
- (* Ijumptable *)
econstructor. split.
- + eapply exec_Ijumptable; try eassumption.
- erewrite transf_function_at by eauto. simpl.
- admit.
+ + eapply exec_Ijumptable with (arg := (subst_arg (ctx:=(context_from_hints (snd (preanalysis tenv f)))) (fst (preanalysis tenv f)) pc arg)); try eassumption.
+ * TR_AT. reflexivity.
+ * rewrite subst_arg_ok with (sp:=sp) (m:=m) by trivial.
+ assumption.
+ econstructor; eauto.
assert (In pc' tbl) as IN_LIST by (eapply list_nth_z_in; eassumption).
IND_STEP.