Bläddra i källkod

Patched copy&paste error

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6878 8c9fc860-2736-0410-a75d-ab315db34111
felixf 9 år sedan
förälder
incheckning
66b9af235a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      source/FoxAMDBackend.Mod

+ 2 - 2
source/FoxAMDBackend.Mod

@@ -2063,8 +2063,8 @@ TYPE
 
 		PROCEDURE EmitArithmetic3(CONST instruction: IntermediateCode.Instruction; opcode: LONGINT);
 		BEGIN
-				EmitArithmetic3Part(instruction,Low,InstructionSet.opXOR);
-				IF IsComplex(instruction.op1) THEN EmitArithmetic3Part(instruction, High, InstructionSet.opXOR) END;
+				EmitArithmetic3Part(instruction,Low,opcode);
+				IF IsComplex(instruction.op1) THEN EmitArithmetic3Part(instruction, High, opcode) END;
 		END EmitArithmetic3;
 
 		PROCEDURE EmitArithmetic3XMM(CONST instruction: IntermediateCode.Instruction; op32, op64: LONGINT);