changeset 7381:6761a8f854a4

Fix the kind for DivRemOp results.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 15 Jan 2013 18:54:02 +0100
parents 3207ee96b659
children 31d1cc9219d8 989155e2d07a
files graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64Arithmetic.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;