Home
last modified time | relevance | path

Searched refs:cur_reg (Results 1 – 2 of 2) sorted by relevance

/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc305 size_t cur_arg, cur_reg; in ArmJniCallingConvention() local
312 cur_reg = 2; // skip {r0=JNIEnv, r1=jobject} / {r0=JNIEnv, r1=jclass} parameters (start at r2). in ArmJniCallingConvention()
316 cur_reg = 0; in ArmJniCallingConvention()
346 if ((cur_reg & 1) != 0) { // check that it's in a logical contiguous register pair in ArmJniCallingConvention()
348 cur_reg++; // additional bump to ensure alignment in ArmJniCallingConvention()
350 cur_reg += 2; // bump the iterator twice for every long argument in ArmJniCallingConvention()
352 cur_reg++; // bump the iterator for every non-long argument in ArmJniCallingConvention()
356 if (cur_reg <= kJniArgumentRegisterCount) { in ArmJniCallingConvention()
/art/runtime/interpreter/
Dinterpreter.cc462 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()