# HG changeset patch # User Roland Schatz # Date 1362412972 -3600 # Node ID 1b591118d01e3e60fbda3331a06e94f13b634e1c # Parent 2e3e4b6918356732e7f29d596b5a96e62375d078 Use AllocatableValue in DivRemOp. diff -r 2e3e4b691835 -r 1b591118d01e 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 Mon Mar 04 16:48:17 2013 +0100 +++ b/graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java Mon Mar 04 17:02:52 2013 +0100 @@ -245,13 +245,13 @@ public static class DivRemOp extends AMD64LIRInstruction { @Opcode private final AMD64Arithmetic opcode; - @Def protected Value divResult; - @Def protected Value remResult; - @Use protected Value x; - @Alive protected Value y; + @Def protected AllocatableValue divResult; + @Def protected AllocatableValue remResult; + @Use protected AllocatableValue x; + @Alive protected AllocatableValue y; @State protected LIRFrameState state; - public DivRemOp(AMD64Arithmetic opcode, Value x, Value y, LIRFrameState state) { + public DivRemOp(AMD64Arithmetic opcode, AllocatableValue x, AllocatableValue y, LIRFrameState state) { this.opcode = opcode; this.divResult = AMD64.rax.asValue(x.getKind()); this.remResult = AMD64.rdx.asValue(x.getKind());