# HG changeset patch # User Thomas Wuerthinger # Date 1358272442 -3600 # Node ID 6761a8f854a46b9cc69ff05b2c042515ace4d32d # Parent 3207ee96b6593dcbb06e171fe87b763ec2a9039f Fix the kind for DivRemOp results. diff -r 3207ee96b659 -r 6761a8f854a4 graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java --- a/graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java Tue Jan 15 18:39:40 2013 +0100 +++ b/graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java Tue Jan 15 18:54:02 2013 +0100 @@ -205,8 +205,8 @@ public DivRemOp(AMD64Arithmetic opcode, Value x, Value y, LIRFrameState state) { this.opcode = opcode; - this.divResult = AMD64.rax.asValue(); - this.remResult = AMD64.rdx.asValue(); + this.divResult = AMD64.rax.asValue(x.getKind()); + this.remResult = AMD64.rdx.asValue(x.getKind()); this.x = x; this.y = y; this.state = state;