aboutsummaryrefslogtreecommitdiffstats
path: root/backend/LTLintyping.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-06-13 18:11:19 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-06-13 18:11:19 +0000
commita5ffc59246b09a389e5f8cbc2f217e323e76990f (patch)
treee1bc7cc54518aad7c20645f187cee8110de8cff9 /backend/LTLintyping.v
parent4daccd62b92b23016d3f343d5691f9c164a8a951 (diff)
downloadcompcert-a5ffc59246b09a389e5f8cbc2f217e323e76990f.tar.gz
compcert-a5ffc59246b09a389e5f8cbc2f217e323e76990f.zip
Revised handling of annotation statements, and more generally built-in functions, and more generally external functions
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1672 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/LTLintyping.v')
-rw-r--r--backend/LTLintyping.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/LTLintyping.v b/backend/LTLintyping.v
index c928f3f6..1a20f735 100644
--- a/backend/LTLintyping.v
+++ b/backend/LTLintyping.v
@@ -73,7 +73,7 @@ Inductive wt_instr : instruction -> Prop :=
forall ef args res,
List.map Loc.type args = (ef_sig ef).(sig_args) ->
Loc.type res = proj_sig_res (ef_sig ef) ->
- arity_ok (ef_sig ef).(sig_args) = true ->
+ arity_ok (ef_sig ef).(sig_args) = true \/ ef_reloads ef = false ->
locs_acceptable args -> loc_acceptable res ->
wt_instr (Lbuiltin ef args res)
| wt_Llabel: forall lbl,