From c050994995268494d46a6cac1d4ffa931effa0f6 Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Thu, 9 Jul 2020 02:45:24 +0200 Subject: Fix PPTC on Windows 7. (#1369) * Fix PPTC on Windows 7. * Address gdkchan comment. --- ARMeilleure/CodeGen/Optimizations/ConstantFolding.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ARMeilleure/CodeGen/Optimizations') diff --git a/ARMeilleure/CodeGen/Optimizations/ConstantFolding.cs b/ARMeilleure/CodeGen/Optimizations/ConstantFolding.cs index eff53217..790fd53d 100644 --- a/ARMeilleure/CodeGen/Optimizations/ConstantFolding.cs +++ b/ARMeilleure/CodeGen/Optimizations/ConstantFolding.cs @@ -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; } -- cgit v1.2.3