diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2009-11-10 12:50:57 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2009-11-10 12:50:57 +0000 |
commit | 74487f079dd56663f97f9731cea328931857495c (patch) | |
tree | 9de10b895da39adffaf66bff983d6ed573898068 /backend/Allocproof.v | |
parent | 0486654fac91947fec93d18a0738dd7aa10bcf96 (diff) | |
download | compcert-kvx-74487f079dd56663f97f9731cea328931857495c.tar.gz compcert-kvx-74487f079dd56663f97f9731cea328931857495c.zip |
Added support for jump tables in back end.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1171 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Allocproof.v')
-rw-r--r-- | backend/Allocproof.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/Allocproof.v b/backend/Allocproof.v index fc0a0f3c..10eaa5b1 100644 --- a/backend/Allocproof.v +++ b/backend/Allocproof.v @@ -683,6 +683,12 @@ Proof. eapply exec_Lcond_false; eauto. TranslInstr. MatchStates. eapply agree_reg_list_live. eauto. + (* Ijumptable *) + assert (rs#arg = ls (assign arg)). apply AG. apply Regset.add_1. auto. + econstructor; split. + eapply exec_Ljumptable; eauto. TranslInstr. congruence. + MatchStates. eapply list_nth_z_in; eauto. eapply agree_reg_live; eauto. + (* Ireturn *) econstructor; split. eapply exec_Lreturn; eauto. TranslInstr; eauto. |