File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4626,8 +4626,13 @@ object (self)
46264626 ([" defusehigh" ],
46274627 {op_name = new symbol_t ~atts: [" exit" ] " use_high" ;
46284628 op_args = [(" dst" , v, WRITE )]})) symvars in
4629+ let exitname = new symbol_t ~atts: [" exit" ] " invariant" in
4630+ let cmdinvop = OPERATION {op_name = exitname; op_args = [] } in
46294631 let constantAssigns = env#end_transaction in
4630- let cmds = constantAssigns @ cmds @ cmdshigh in
4632+ let cmds = constantAssigns @ [cmdinvop] @ cmds @ cmdshigh in
4633+ let returnvar = finfo#env#mk_arm_register_variable AR0 in
4634+ let _ = finfo#add_use_loc returnvar " exit" in
4635+ let _ = finfo#add_use_high_loc returnvar " exit" in
46314636 TRANSACTION (new symbol_t " exit" , LF. mkCode cmds, None )
46324637
46334638 method translate =
You can’t perform that action at this time.
0 commit comments