PPTC: Fix unwanted propagation of a relocatable constant in a specific case. (#1990)
* Fix unwanted propagation of a relocatable constant in a specific case. * Ptc.InternalVersion = 1990 * Nit to retrigger the Checks.
This commit is contained in:
parent
0aea1e5cb0
commit
bcbf240d2e
5 changed files with 18 additions and 6 deletions
|
@ -961,7 +961,7 @@ namespace ARMeilleure.CodeGen.X86
|
|||
|
||||
WriteInt32((int)imm);
|
||||
}
|
||||
else if (dest != null && dest.Kind == OperandKind.Register && info.OpRImm64 != BadOp)
|
||||
else if (dest?.Kind == OperandKind.Register && info.OpRImm64 != BadOp)
|
||||
{
|
||||
int? index = source.PtcIndex;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue