aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Tunnelingtyping.v
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Tunnelingtyping.v')
-rw-r--r--backend/Tunnelingtyping.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/Tunnelingtyping.v b/backend/Tunnelingtyping.v
index 91745dfb..8990cb44 100644
--- a/backend/Tunnelingtyping.v
+++ b/backend/Tunnelingtyping.v
@@ -74,7 +74,9 @@ Lemma wt_tunnel_instr:
wt_instr f i -> wt_instr (tunnel_function f) (tunnel_instr (record_gotos f) i).
Proof.
intros; inv H0; simpl; econstructor; eauto;
- eapply branch_target_valid; eauto.
+ try (eapply branch_target_valid; eauto).
+ intros. exploit list_in_map_inv; eauto. intros [x [A B]]. subst lbl.
+ eapply branch_target_valid; eauto.
Qed.
Lemma wt_tunnel_function: