Mercurial > hg > truffle
changeset 4214:35b05867c94a
Using the incoming stack slot of object parameters is broken, so disable it for now.
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Wed, 04 Jan 2012 10:49:09 -0800 |
parents | e4cfa571d8c4 |
children | 03eaec130ed1 5c80ccb80036 |
files | graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/alloc/LinearScan.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/alloc/LinearScan.java Tue Jan 03 18:47:27 2012 -0800 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/alloc/LinearScan.java Wed Jan 04 10:49:09 2012 -0800 @@ -1020,7 +1020,7 @@ */ static RegisterPriority registerPriorityOfOutputOperand(LIRInstruction op) { if (op.code == StandardOpcode.MOVE) { - if (isStackSlot(op.input(0))) { + if (isStackSlot(op.input(0)) && op.input(0).kind != CiKind.Object) { // method argument (condition must be equal to handleMethodArguments) return RegisterPriority.None; } @@ -1057,7 +1057,7 @@ */ void handleMethodArguments(LIRInstruction op) { if (op.code == StandardOpcode.MOVE) { - if (isStackSlot(op.input(0))) { + if (isStackSlot(op.input(0)) && op.input(0).kind != CiKind.Object) { CiStackSlot slot = (CiStackSlot) op.input(0); if (GraalOptions.DetailedAsserts) { assert op.id() > 0 : "invalid id";