src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
changeset 47787 11b8ac93804c
parent 47216 71c04702a3d5
child 47799 1772ebf07d1f
equal deleted inserted replaced
47786:97dde3171e7e 47787:11b8ac93804c
  2181   // kind of native it is.  The reason is that for regular JNI natives
  2181   // kind of native it is.  The reason is that for regular JNI natives
  2182   // the incoming and outgoing registers are offset upwards and for
  2182   // the incoming and outgoing registers are offset upwards and for
  2183   // critical natives they are offset down.
  2183   // critical natives they are offset down.
  2184   GrowableArray<int> arg_order(2 * total_in_args);
  2184   GrowableArray<int> arg_order(2 * total_in_args);
  2185   VMRegPair tmp_vmreg;
  2185   VMRegPair tmp_vmreg;
  2186   tmp_vmreg.set1(rbx->as_VMReg());
  2186   tmp_vmreg.set2(rbx->as_VMReg());
  2187 
  2187 
  2188   if (!is_critical_native) {
  2188   if (!is_critical_native) {
  2189     for (int i = total_in_args - 1, c_arg = total_c_args - 1; i >= 0; i--, c_arg--) {
  2189     for (int i = total_in_args - 1, c_arg = total_c_args - 1; i >= 0; i--, c_arg--) {
  2190       arg_order.push(i);
  2190       arg_order.push(i);
  2191       arg_order.push(c_arg);
  2191       arg_order.push(c_arg);