From 4622f49fd089ae47d0c853343cb0a05f986c962a Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 27 Mar 2015 08:55:05 +0100 Subject: Extend annotations so that they can keep track of global variables and local variables whose address is taken. - CminorSel, RTL: add "annot" instructions. - CminorSel to Asm: use type "annot_arg" for arguments of "annot" instructions. - AST, Events: simplify EF_annot because constants are now part of the arguments. Implementation is not complete yet. --- backend/CSE.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/CSE.v') diff --git a/backend/CSE.v b/backend/CSE.v index fa229871..2c0c5f33 100644 --- a/backend/CSE.v +++ b/backend/CSE.v @@ -492,6 +492,8 @@ Definition transfer (f: function) (approx: PMap.t VA.t) (pc: node) (before: numb | EF_vload _ | EF_vload_global _ _ _ | EF_annot _ _ | EF_annot_val _ _ => set_unknown before res end + | Iannot ef args s => + before | Icond cond args ifso ifnot => before | Ijumptable arg tbl => -- cgit