From 71a3e11b500713b53f13fe64b87ebeb1c9c6e312 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 14 Mar 2020 08:00:06 +0100 Subject: Ijumptable --- backend/CSE3proof.v | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backend/CSE3proof.v') 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. -- cgit