diff options
| author | LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> | 2021-02-23 13:15:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 13:15:45 +0100 |
| commit | bcbf240d2eab2a2794224487d87519ac31016c96 (patch) | |
| tree | d352060802864a34bb2c51db5aa89487f04165bc /ARMeilleure/CodeGen/X86 | |
| parent | 0aea1e5cb01ee693bd806f29b49b40c37b256894 (diff) | |
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.
Diffstat (limited to 'ARMeilleure/CodeGen/X86')
| -rw-r--r-- | ARMeilleure/CodeGen/X86/Assembler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ARMeilleure/CodeGen/X86/Assembler.cs b/ARMeilleure/CodeGen/X86/Assembler.cs index 2484e251..bab4c453 100644 --- a/ARMeilleure/CodeGen/X86/Assembler.cs +++ b/ARMeilleure/CodeGen/X86/Assembler.cs @@ -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; |
