diff src/cpu/x86/vm/x86_32.ad @ 14416:6a936747b569

8024344: PPC64 (part 112): C argument in register AND stack slot. Summary: On PPC, the first 13 floating point arguments to C calls are passed in floating point registers. Also, all but the first 8 arguments are passed on the stack. So there can be floating point arguments that are passed on the stack and in a register. We duplicate the regs datastructure in c_calling_convention() to represent this. Reviewed-by: kvn, cjplummer
author goetz
date Thu, 12 Sep 2013 13:51:13 -0700
parents e10e43e58e92
children 2b8e28fdf503
line wrap: on
line diff
--- a/src/cpu/x86/vm/x86_32.ad	Fri Sep 06 20:16:09 2013 +0200
+++ b/src/cpu/x86/vm/x86_32.ad	Thu Sep 12 13:51:13 2013 -0700
@@ -3755,7 +3755,7 @@
   // automatically biased by the preserve_stack_slots field above.
   c_calling_convention %{
     // This is obviously always outgoing
-    (void) SharedRuntime::c_calling_convention(sig_bt, regs, length);
+    (void) SharedRuntime::c_calling_convention(sig_bt, regs, /*regs2=*/NULL, length);
   %}
 
   // Location of C & interpreter return values