< prev index next >

src/hotspot/share/prims/foreignGlobals.cpp

Print this page
*** 168,11 ***
    return align_up(max_stack_offset, 8);
  }
  
  int JavaCallingConvention::calling_convention(const BasicType* sig_bt, VMStorage* regs, int num_args) const {
    VMRegPair* vm_regs = NEW_RESOURCE_ARRAY(VMRegPair, num_args);
!   int slots = SharedRuntime::java_calling_convention(sig_bt, vm_regs, num_args);
    for (int i = 0; i < num_args; i++) {
      VMRegPair pair = vm_regs[i];
      // note, we ignore second here. Signature should consist of register-size values. So there should be
      // no need for multi-register pairs.
      //assert(!pair.first()->is_valid() || pair.is_single_reg(), "must be: %s");
--- 168,11 ---
    return align_up(max_stack_offset, 8);
  }
  
  int JavaCallingConvention::calling_convention(const BasicType* sig_bt, VMStorage* regs, int num_args) const {
    VMRegPair* vm_regs = NEW_RESOURCE_ARRAY(VMRegPair, num_args);
!   int slots = align_up(SharedRuntime::java_calling_convention(sig_bt, vm_regs, num_args), 2);
    for (int i = 0; i < num_args; i++) {
      VMRegPair pair = vm_regs[i];
      // note, we ignore second here. Signature should consist of register-size values. So there should be
      // no need for multi-register pairs.
      //assert(!pair.first()->is_valid() || pair.is_single_reg(), "must be: %s");
< prev index next >