Searched refs:cur_reg (Results 1 – 3 of 3) sorted by relevance
/art/compiler/jni/quick/mips/ |
D | calling_convention_mips.cc | 212 size_t cur_arg, cur_reg; in MipsJniCallingConvention() local 219 cur_reg = 2; // Skip {A0=JNIEnv, A1=jobject} / {A0=JNIEnv, A1=jclass} parameters (start at A2). in MipsJniCallingConvention() 223 cur_reg = 0; in MipsJniCallingConvention() 254 if ((cur_reg & 1) != 0) { in MipsJniCallingConvention() 256 cur_reg++; // Additional bump to ensure alignment. in MipsJniCallingConvention() 258 cur_reg += 2; // Bump the iterator twice for every long argument. in MipsJniCallingConvention() 260 cur_reg++; // Bump the iterator for every argument. in MipsJniCallingConvention() 263 if (cur_reg < kMaxIntLikeRegisterArguments) { in MipsJniCallingConvention()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 296 size_t cur_arg, cur_reg; in ArmJniCallingConvention() local 303 cur_reg = 2; // skip {r0=JNIEnv, r1=jobject} / {r0=JNIEnv, r1=jclass} parameters (start at r2). in ArmJniCallingConvention() 307 cur_reg = 0; in ArmJniCallingConvention() 337 if ((cur_reg & 1) != 0) { // check that it's in a logical contiguous register pair in ArmJniCallingConvention() 339 cur_reg++; // additional bump to ensure alignment in ArmJniCallingConvention() 341 cur_reg += 2; // bump the iterator twice for every long argument in ArmJniCallingConvention() 343 cur_reg++; // bump the iterator for every non-long argument in ArmJniCallingConvention() 347 if (cur_reg < kJniArgumentRegisterCount) { in ArmJniCallingConvention()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 409 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() local 412 shadow_frame->SetVRegReference(cur_reg, receiver.Ptr()); in EnterInterpreterFromInvoke() 413 ++cur_reg; in EnterInterpreterFromInvoke() 417 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke() 423 shadow_frame->SetVRegReference(cur_reg, o.Ptr()); in EnterInterpreterFromInvoke() 428 shadow_frame->SetVRegLong(cur_reg, wide_value); in EnterInterpreterFromInvoke() 429 cur_reg++; in EnterInterpreterFromInvoke() 434 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
|