summaryrefslogtreecommitdiff
path: root/powerpc
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-06 11:32:22 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-06 11:32:22 +0000
commit76555ffd2403b3ebf1ea353063c16763e6493722 (patch)
tree16b044dd521b32f4f8f3b759f15b811196679274 /powerpc
parent52808842306243ed922eb8e7cf0525f1d890198c (diff)
Refactoring: move definition of chunk_of_type to AST.v.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2238 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc')
-rw-r--r--powerpc/Asm.v3
1 files changed, 0 insertions, 3 deletions
diff --git a/powerpc/Asm.v b/powerpc/Asm.v
index 115d846..55a23f2 100644
--- a/powerpc/Asm.v
+++ b/powerpc/Asm.v
@@ -806,9 +806,6 @@ Definition preg_of (r: mreg) : preg :=
We exploit the calling conventions from module [Conventions], except that
we use PPC registers instead of locations. *)
-Definition chunk_of_type (ty: typ) :=
- match ty with Tint => Mint32 | Tfloat => Mfloat64al32 | Tlong => Mint64 end.
-
Inductive extcall_arg (rs: regset) (m: mem): loc -> val -> Prop :=
| extcall_arg_reg: forall r,
extcall_arg rs m (R r) (rs (preg_of r))