diff --git a/src/coreclr/jit/emitarm64.cpp b/src/coreclr/jit/emitarm64.cpp index ed24d4894beec..d98270cd3081d 100644 --- a/src/coreclr/jit/emitarm64.cpp +++ b/src/coreclr/jit/emitarm64.cpp @@ -7975,7 +7975,7 @@ void emitter::emitIns_R_S(instruction ins, emitAttr attr, regNumber reg1, int va regNumber rsvdReg = codeGen->rsGetRsvdReg(); // add rsvd, fp, #imm - emitIns_R_R_I(INS_add, EA_8BYTE, rsvdReg, reg2, imm); + emitIns_R_R_Imm(INS_add, EA_8BYTE, rsvdReg, reg2, imm); // str p0, [rsvd, #0, mul vl] emitIns_R_R_I(ins, attr, reg1, rsvdReg, 0); @@ -8246,7 +8246,7 @@ void emitter::emitIns_S_R(instruction ins, emitAttr attr, regNumber reg1, int va regNumber rsvdReg = codeGen->rsGetRsvdReg(); // add rsvd, fp, #imm - emitIns_R_R_I(INS_add, EA_8BYTE, rsvdReg, reg2, imm); + emitIns_R_R_Imm(INS_add, EA_8BYTE, rsvdReg, reg2, imm); // str p0, [rsvd, #0, mul vl] emitIns_R_R_I(ins, attr, reg1, rsvdReg, 0);