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/Lineartyping.v | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/Lineartyping.v') diff --git a/backend/Lineartyping.v b/backend/Lineartyping.v index 33b570b9..ba4952bd 100644 --- a/backend/Lineartyping.v +++ b/backend/Lineartyping.v @@ -95,6 +95,10 @@ Inductive wt_instr : instruction -> Prop := forall cond args lbl, List.map mreg_type args = type_of_condition cond -> wt_instr (Lcond cond args lbl) + | wt_Ljumptable: + forall arg tbl, + mreg_type arg = Tint -> + wt_instr (Ljumptable arg tbl) | wt_Lreturn: wt_instr (Lreturn). -- cgit