diff options
Diffstat (limited to 'backend/Lineartyping.v')
-rw-r--r-- | backend/Lineartyping.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/Lineartyping.v b/backend/Lineartyping.v index ba4952bd..1fe77378 100644 --- a/backend/Lineartyping.v +++ b/backend/Lineartyping.v @@ -15,6 +15,7 @@ Require Import Coqlib. Require Import Maps. Require Import AST. +Require Import Integers. Require Import Op. Require Import RTL. Require Import Locations. @@ -98,6 +99,7 @@ Inductive wt_instr : instruction -> Prop := | wt_Ljumptable: forall arg tbl, mreg_type arg = Tint -> + list_length_z tbl * 4 <= Int.max_signed -> wt_instr (Ljumptable arg tbl) | wt_Lreturn: wt_instr (Lreturn). |