Searched refs:cur_reg (Results 1 – 3 of 3) sorted by relevance
/art/compiler/jni/quick/mips/ |
D | calling_convention_mips.cc | 214 size_t cur_arg, cur_reg; in MipsJniCallingConvention() local 221 cur_reg = 2; // Skip {A0=JNIEnv, A1=jobject} / {A0=JNIEnv, A1=jclass} parameters (start at A2). in MipsJniCallingConvention() 225 cur_reg = 0; in MipsJniCallingConvention() 256 if ((cur_reg & 1) != 0) { in MipsJniCallingConvention() 258 cur_reg++; // Additional bump to ensure alignment. in MipsJniCallingConvention() 260 cur_reg += 2; // Bump the iterator twice for every long argument. in MipsJniCallingConvention() 262 cur_reg++; // Bump the iterator for every argument. in MipsJniCallingConvention() 265 if (cur_reg < kMaxIntLikeRegisterArguments) { in MipsJniCallingConvention()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 273 size_t cur_arg, cur_reg; in ArmJniCallingConvention() local 280 cur_reg = 2; // skip {r0=JNIEnv, r1=jobject} / {r0=JNIEnv, r1=jclass} parameters (start at r2). in ArmJniCallingConvention() 284 cur_reg = 0; in ArmJniCallingConvention() 314 if ((cur_reg & 1) != 0) { // check that it's in a logical contiguous register pair in ArmJniCallingConvention() 316 cur_reg++; // additional bump to ensure alignment in ArmJniCallingConvention() 318 cur_reg += 2; // bump the iterator twice for every long argument in ArmJniCallingConvention() 320 cur_reg++; // bump the iterator for every non-long argument in ArmJniCallingConvention() 324 if (cur_reg < kJniArgumentRegisterCount) { in ArmJniCallingConvention()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 446 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() local 449 shadow_frame->SetVRegReference(cur_reg, receiver); in EnterInterpreterFromInvoke() 450 ++cur_reg; in EnterInterpreterFromInvoke() 454 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke() 460 shadow_frame->SetVRegReference(cur_reg, o); in EnterInterpreterFromInvoke() 465 shadow_frame->SetVRegLong(cur_reg, wide_value); in EnterInterpreterFromInvoke() 466 cur_reg++; in EnterInterpreterFromInvoke() 471 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
|