From 74487f079dd56663f97f9731cea328931857495c Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 10 Nov 2009 12:50:57 +0000 Subject: 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 --- backend/LTLintyping.v | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backend/LTLintyping.v') diff --git a/backend/LTLintyping.v b/backend/LTLintyping.v index 9f3f5896..6013a17d 100644 --- a/backend/LTLintyping.v +++ b/backend/LTLintyping.v @@ -76,6 +76,11 @@ Inductive wt_instr : instruction -> Prop := List.map Loc.type args = type_of_condition cond -> locs_acceptable args -> wt_instr (Lcond cond args lbl) + | wt_Ljumptable: + forall arg tbl, + Loc.type arg = Tint -> + loc_acceptable arg -> + wt_instr (Ljumptable arg tbl) | wt_Lreturn: forall optres, option_map Loc.type optres = funsig.(sig_res) -> -- cgit