Skip to content

Commit

Permalink
[jit] Avoid nullifying LDADDR instructions in load_simd_vreg_class ()…
Browse files Browse the repository at this point in the history
…, they could have references if explicit-null-checks are enabled. Fixes #60539.
  • Loading branch information
vargaz committed Nov 9, 2017
1 parent ee20fc0 commit aa3e30c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mono/mini/simd-intrinsics.c
Expand Up @@ -852,7 +852,6 @@ load_simd_vreg_class (MonoCompile *cfg, MonoClass *klass, MonoInst *src, gboolea
return src->sreg1;
} else if (src->opcode == OP_LDADDR) {
int res = ((MonoInst*)src->inst_p0)->dreg;
NULLIFY_INS (src);
return res;
} else if (spec [MONO_INST_DEST] == 'x') {
return src->dreg;
Expand Down

0 comments on commit aa3e30c

Please sign in to comment.