Mercurial > hg > graal-compiler
changeset 7921:1b591118d01e
Use AllocatableValue in DivRemOp.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 04 Mar 2013 17:02:52 +0100 |
parents | 2e3e4b691835 |
children | fb4d914f6bef |
files | graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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());