Skip to content

Commit

Permalink
Revert "Proposed fix for dotnet#32085"
Browse files Browse the repository at this point in the history
This reverts commit 169c24e.
  • Loading branch information
briansull committed Feb 25, 2020
1 parent 169c24e commit 8d0ce82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/emitxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2835,7 +2835,7 @@ void emitter::emitHandleMemOp(GenTreeIndir* indir, instrDesc* id, insFormat fmt,

// Either not generating relocatable code, or addr must be an icon handle, or the
// constant is zero (which we won't generate a relocation for).
assert(!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0) || memBase->AsIntConCommon()->FitsInAddrBase(emitComp));
assert(!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0));

if (memBase->AsIntConCommon()->AddrNeedsReloc(emitComp))
{
Expand Down

0 comments on commit 8d0ce82

Please sign in to comment.