equal
deleted
inserted
replaced
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); |