aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Lineartyping.v
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2015-04-01 18:28:02 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2015-04-01 18:28:02 +0200
commit95ba79b10e832025bbc9843f9d14614f7dff0fcb (patch)
tree8ca03b99cf6be2aab8c7b266196569019a2a7f13 /backend/Lineartyping.v
parent68e2ce02f8d69b26c9cea6e0d338f855cbea3ace (diff)
parente11b3b885a6d359925b86743b89698cc6757157a (diff)
downloadcompcert-95ba79b10e832025bbc9843f9d14614f7dff0fcb.tar.gz
compcert-95ba79b10e832025bbc9843f9d14614f7dff0fcb.zip
Merge pull request #34 from AbsInt/extended-annotations
Extended annotations
Diffstat (limited to 'backend/Lineartyping.v')
-rw-r--r--backend/Lineartyping.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Lineartyping.v b/backend/Lineartyping.v
index ccf17e1e..c093b62d 100644
--- a/backend/Lineartyping.v
+++ b/backend/Lineartyping.v
@@ -76,7 +76,7 @@ Definition wt_instr (i: instruction) : bool :=
| Lbuiltin ef args res =>
subtype_list (proj_sig_res' (ef_sig ef)) (map mreg_type res)
| Lannot ef args =>
- forallb loc_valid args
+ forallb loc_valid (params_of_annot_args args)
| _ =>
true
end.
@@ -365,7 +365,7 @@ Qed.
Lemma wt_state_annot:
forall s f sp ef args c rs m,
wt_state (State s f sp (Lannot ef args :: c) rs m) ->
- forallb (loc_valid f) args = true.
+ forallb (loc_valid f) (params_of_annot_args args) = true.
Proof.
intros. inv H. simpl in WTC; InvBooleans. auto.
Qed.