Searched refs:cur_reg (Results 1 – 2 of 2) sorted by relevance
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 312 size_t cur_arg, cur_reg; in ArmJniCallingConvention() local 319 cur_reg = 2; // skip {r0=JNIEnv, r1=jobject} / {r0=JNIEnv, r1=jclass} parameters (start at r2). in ArmJniCallingConvention() 323 cur_reg = 0; in ArmJniCallingConvention() 353 if ((cur_reg & 1) != 0) { // check that it's in a logical contiguous register pair in ArmJniCallingConvention() 355 cur_reg++; // additional bump to ensure alignment in ArmJniCallingConvention() 357 cur_reg += 2; // bump the iterator twice for every long argument in ArmJniCallingConvention() 359 cur_reg++; // bump the iterator for every non-long argument in ArmJniCallingConvention() 363 if (cur_reg <= kJniArgumentRegisterCount) { in ArmJniCallingConvention()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 462 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() local 465 shadow_frame->SetVRegReference(cur_reg, receiver); in EnterInterpreterFromInvoke() 466 ++cur_reg; in EnterInterpreterFromInvoke() 470 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke() 476 shadow_frame->SetVRegReference(cur_reg, o); in EnterInterpreterFromInvoke() 481 shadow_frame->SetVRegLong(cur_reg, wide_value); in EnterInterpreterFromInvoke() 482 cur_reg++; in EnterInterpreterFromInvoke() 487 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
|