# HG changeset patch # User Josef Eisl # Date 1432213211 -7200 # Node ID 24dd9af9ac26fba1f6db549281a7a04526158817 # Parent 9c88f3f5caa0552362fda884b25a676b5f4bc313 SPARCArithmetic: add register hint for Unary2Op. diff -r 9c88f3f5caa0 -r 24dd9af9ac26 graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java --- a/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java Thu May 21 14:56:00 2015 +0200 +++ b/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java Thu May 21 15:00:11 2015 +0200 @@ -66,7 +66,7 @@ public static final LIRInstructionClass TYPE = LIRInstructionClass.create(Unary2Op.class); @Opcode private final SPARCArithmetic opcode; - @Def({REG}) protected AllocatableValue result; + @Def({REG, HINT}) protected AllocatableValue result; @Use({REG}) protected AllocatableValue x; public Unary2Op(SPARCArithmetic opcode, AllocatableValue result, AllocatableValue x) {