Fix silly mistake introduced on last commit on CpuId

This commit is contained in:
gdkchan 2019-07-25 00:08:58 -03:00
parent 581b7c8bbf
commit 15f73fa36d
2 changed files with 1 additions and 6 deletions

View file

@ -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);

View file

@ -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.