aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc')
-rw-r--r--powerpc/Conventions1.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerpc/Conventions1.v b/powerpc/Conventions1.v
index 5639ff8d..5c9cbd4f 100644
--- a/powerpc/Conventions1.v
+++ b/powerpc/Conventions1.v
@@ -211,9 +211,9 @@ Fixpoint loc_arguments_rec
| Tsingle as ty :: tys =>
match list_nth_z float_param_regs fr with
| None =>
- let ty := if Archi.single_passed_as_single then Tsingle else Tfloat in
+ let ty := if Archi.single_passed_as_single then Tsingle else Tany64 in
let ofs := align ofs (typesize ty) in
- One (S Outgoing ofs Tsingle) :: loc_arguments_rec tys ir fr (ofs + (typesize ty))
+ One (S Outgoing ofs ty) :: loc_arguments_rec tys ir fr (ofs + (typesize ty))
| Some freg =>
One (R freg) :: loc_arguments_rec tys ir (fr + 1) ofs
end