diff --git a/ARMeilleure/CodeGen/X86/CodeGenerator.cs b/ARMeilleure/CodeGen/X86/CodeGenerator.cs index 1cfe908913..98acea51c7 100644 --- a/ARMeilleure/CodeGen/X86/CodeGenerator.cs +++ b/ARMeilleure/CodeGen/X86/CodeGenerator.cs @@ -625,11 +625,6 @@ namespace ARMeilleure.CodeGen.X86 Operand dest = operation.Dest; Operand source = operation.GetSource(0); - if (dest.Type != source.Type) - { - System.Console.WriteLine(dest.Type + " " + source.Type); - } - EnsureSameType(dest, source); Debug.Assert(dest.Type.IsInteger() || source.Kind != OperandKind.Constant); diff --git a/ARMeilleure/CodeGen/X86/PreAllocator.cs b/ARMeilleure/CodeGen/X86/PreAllocator.cs index 515cdd8b22..61688e1719 100644 --- a/ARMeilleure/CodeGen/X86/PreAllocator.cs +++ b/ARMeilleure/CodeGen/X86/PreAllocator.cs @@ -226,7 +226,7 @@ namespace ARMeilleure.CodeGen.X86 Operand edx = Gpr(X86Register.Rdx, OperandType.I32); // Value 0x01 = Version, family and feature information. - node = nodes.AddBefore(node, new Operation(Instruction.Copy, eax, Const(1))); + nodes.AddBefore(node, new Operation(Instruction.Copy, eax, Const(1))); // We don't care about those two, but their values are overwritten, // so we need to take that into account.