@@ -1213,19 +1213,6 @@ void emitter::emitIns_R_C(
12131213 id->idInsOpt (INS_OPTS_RC);
12141214 id->idCodeSize (2 * sizeof (code_t )); // auipc + load/addi
12151215
1216- if (EA_IS_GCREF (attr))
1217- {
1218- /* A special value indicates a GCref pointer value */
1219- id->idGCref (GCT_GCREF);
1220- id->idOpSize (EA_PTRSIZE);
1221- }
1222- else if (EA_IS_BYREF (attr))
1223- {
1224- /* A special value indicates a Byref pointer value */
1225- id->idGCref (GCT_BYREF);
1226- id->idOpSize (EA_PTRSIZE);
1227- }
1228-
12291216 // TODO-RISCV64: this maybe deleted.
12301217 id->idSetIsBound (); // We won't patch address since we will know the exact distance
12311218 // once JIT code and data are allocated together.
@@ -1262,19 +1249,6 @@ void emitter::emitIns_R_AI(instruction ins,
12621249 id->idReg1 (reg); // destination register that will get the constant value.
12631250
12641251 id->idInsOpt (INS_OPTS_RELOC);
1265-
1266- id->idOpSize (EA_SIZE (attr));
1267- if (EA_IS_GCREF (attr))
1268- {
1269- /* A special value indicates a GCref pointer value */
1270- id->idGCref (GCT_GCREF);
1271- }
1272- else if (EA_IS_BYREF (attr))
1273- {
1274- /* A special value indicates a Byref pointer value */
1275- id->idGCref (GCT_BYREF);
1276- }
1277-
12781252 id->idAddr ()->iiaAddr = (BYTE*)addr;
12791253 id->idCodeSize (8 );
12801254
@@ -1322,19 +1296,6 @@ void emitter::emitIns_R_L(instruction ins, emitAttr attr, BasicBlock* dst, regNu
13221296 id->idCodeSize (2 * sizeof (code_t ));
13231297 id->idReg1 (reg);
13241298
1325- if (EA_IS_GCREF (attr))
1326- {
1327- /* A special value indicates a GCref pointer value */
1328- id->idGCref (GCT_GCREF);
1329- id->idOpSize (EA_PTRSIZE);
1330- }
1331- else if (EA_IS_BYREF (attr))
1332- {
1333- /* A special value indicates a Byref pointer value */
1334- id->idGCref (GCT_BYREF);
1335- id->idOpSize (EA_PTRSIZE);
1336- }
1337-
13381299#ifdef DEBUG
13391300 // Mark the catch return
13401301 if (emitComp->compCurBB ->KindIs (BBJ_EHCATCHRET))
0 commit comments