diff src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 22458:c2c971a9776f

Remove unused frame_extension_argument from i2c adapters
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 24 Aug 2015 10:21:51 -0700
parents c28cb37b2e1d
children f27c163d7dc2
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Mon Aug 24 16:50:57 2015 +0200
+++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Mon Aug 24 10:21:51 2015 -0700
@@ -519,8 +519,7 @@
                        // VMReg max_arg,
                        int comp_args_on_stack, // VMRegStackSlots
                        const BasicType *sig_bt,
-                       const VMRegPair *regs,
-                       int frame_extension_argument = -1);
+                       const VMRegPair *regs);
 
   AdapterGenerator(MacroAssembler *_masm) : masm(_masm) {}
 };
@@ -768,10 +767,7 @@
                                        // VMReg max_arg,
                                        int comp_args_on_stack, // VMRegStackSlots
                                        const BasicType *sig_bt,
-                                       const VMRegPair *regs,
-                                       int frame_extension_argument) {
-  assert(frame_extension_argument == -1, "unsupported");
-
+                                       const VMRegPair *regs) {
   // Generate an I2C adapter: adjust the I-frame to make space for the C-frame
   // layout.  Lesp was saved by the calling I-frame and will be restored on
   // return.  Meanwhile, outgoing arg space is all owned by the callee
@@ -1028,10 +1024,9 @@
                                     int total_args_passed,
                                     int comp_args_on_stack,
                                     const BasicType *sig_bt,
-                                    const VMRegPair *regs,
-                                    int frame_extension_argument) {
+                                    const VMRegPair *regs) {
   AdapterGenerator agen(masm);
-  agen.gen_i2c_adapter(total_args_passed, comp_args_on_stack, sig_bt, regs, frame_extension_argument);
+  agen.gen_i2c_adapter(total_args_passed, comp_args_on_stack, sig_bt, regs);
 }
 
 // ---------------------------------------------------------------