Searched refs:cur_reg (Results 1 – 2 of 2) sorted by relevance
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 313 size_t cur_arg, cur_reg; in ArmJniCallingConvention() local 320 cur_reg = 2; // skip {r0=JNIEnv, r1=jobject} / {r0=JNIEnv, r1=jclass} parameters (start at r2). in ArmJniCallingConvention() 324 cur_reg = 0; in ArmJniCallingConvention() 354 if ((cur_reg & 1) != 0) { // check that it's in a logical contiguous register pair in ArmJniCallingConvention() 356 cur_reg++; // additional bump to ensure alignment in ArmJniCallingConvention() 358 cur_reg += 2; // bump the iterator twice for every long argument in ArmJniCallingConvention() 360 cur_reg++; // bump the iterator for every non-long argument in ArmJniCallingConvention() 364 if (cur_reg <= kJniArgumentRegisterCount) { in ArmJniCallingConvention()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 391 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() local 394 shadow_frame->SetVRegReference(cur_reg, receiver); in EnterInterpreterFromInvoke() 395 ++cur_reg; in EnterInterpreterFromInvoke() 399 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke() 405 shadow_frame->SetVRegReference(cur_reg, o); in EnterInterpreterFromInvoke() 410 shadow_frame->SetVRegLong(cur_reg, wide_value); in EnterInterpreterFromInvoke() 411 cur_reg++; in EnterInterpreterFromInvoke() 416 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
|