Fix PPTC on Windows 7. (#1369)

* Fix PPTC on Windows 7.

* Address gdkchan comment.
This commit is contained in:
LDj3SNuD 2020-07-09 02:45:24 +02:00 committed by GitHub
parent 484eb645ae
commit c050994995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 14 deletions

View file

@ -218,7 +218,7 @@ namespace ARMeilleure.CodeGen.Optimizations
{
Operand srcOp = operation.GetSource(index);
if (srcOp.Kind != OperandKind.Constant || srcOp.DisableCF)
if (srcOp.Kind != OperandKind.Constant || srcOp.Relocatable)
{
return false;
}