< prev index next >

src/hotspot/share/runtime/sharedRuntime.cpp

Print this page
@@ -1989,11 +1989,11 @@
  
    const int member_arg_pos = total_args_passed - 1;
    assert(member_arg_pos >= 0 && member_arg_pos < total_args_passed, "oob");
    assert(sig_bt[member_arg_pos] == T_OBJECT, "dispatch argument must be an object");
  
-   int comp_args_on_stack = java_calling_convention(sig_bt, regs_without_member_name, total_args_passed - 1);
+   java_calling_convention(sig_bt, regs_without_member_name, total_args_passed - 1);
  
    for (int i = 0; i < member_arg_pos; i++) {
      VMReg a =    regs_with_member_name[i].first();
      VMReg b = regs_without_member_name[i].first();
      assert(a->value() == b->value(), "register allocation mismatch: a=" INTX_FORMAT ", b=" INTX_FORMAT, a->value(), b->value());

@@ -3087,11 +3087,11 @@
        BasicType* sig_bt = si.basic_types();
        assert(si.slots() == total_args_passed, "");
        BasicType ret_type = si.return_type();
  
        // Now get the compiled-Java arguments layout.
-       int comp_args_on_stack = SharedRuntime::java_calling_convention(sig_bt, regs, total_args_passed);
+       SharedRuntime::java_calling_convention(sig_bt, regs, total_args_passed);
  
        // Generate the compiled-to-native wrapper code
        nm = SharedRuntime::generate_native_wrapper(&_masm, method, compile_id, sig_bt, regs, ret_type);
  
        if (nm != nullptr) {
< prev index next >