summaryrefslogtreecommitdiff
path: root/backend/Tailcallproof.v
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Tailcallproof.v')
-rw-r--r--backend/Tailcallproof.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/Tailcallproof.v b/backend/Tailcallproof.v
index 1423e1e..8681d84 100644
--- a/backend/Tailcallproof.v
+++ b/backend/Tailcallproof.v
@@ -630,6 +630,13 @@ Proof.
apply eval_condition_lessdef with (rs##args); auto. apply regset_get_list; auto.
constructor; auto.
+(* jumptable *)
+ TransfInstr.
+ left. exists (State s' (fn_code (transf_function f)) (Vptr sp0 Int.zero) pc' rs' m'); split.
+ eapply exec_Ijumptable; eauto.
+ generalize (RLD arg). rewrite H0. intro. inv H2. auto.
+ constructor; auto.
+
(* return *)
TransfInstr.
left. exists (Returnstate s' (regmap_optget or Vundef rs') (free m' stk)); split.