summaryrefslogtreecommitdiff
path: root/backend/Allocation.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-10-22 16:54:24 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-10-22 16:54:24 +0000
commit210352d90e5972aabfb253f7c8a38349f53917b3 (patch)
tree93ccbf36e6840118abe84ee940252a7a1fbc7720 /backend/Allocation.v
parentee41c6eae5af0703605780e0b3d8f5c3937f3276 (diff)
Lever la restriction sur les fonctions externes, restriction qui exigeait que tous les arguments resident en registres
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@125 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Allocation.v')
-rw-r--r--backend/Allocation.v10
1 files changed, 1 insertions, 9 deletions
diff --git a/backend/Allocation.v b/backend/Allocation.v
index 66c7a3c..c66d6b0 100644
--- a/backend/Allocation.v
+++ b/backend/Allocation.v
@@ -412,15 +412,7 @@ Definition transf_function (f: RTL.function) : option LTL.function :=
end.
Definition transf_fundef (fd: RTL.fundef) : option LTL.fundef :=
- match fd with
- | External ef =>
- if type_external_function ef then Some (External ef) else None
- | Internal f =>
- match transf_function f with
- | None => None
- | Some tf => Some (Internal tf)
- end
- end.
+ transf_partial_fundef transf_function fd.
Definition transf_program (p: RTL.program) : option LTL.program :=
transform_partial_program transf_fundef p.