# HG changeset patch # User Josef Eisl # Date 1439452547 -7200 # Node ID b34dc49056161b39151a217323e91a19274977ab # Parent af6739c6fea519a498f40dcdfec5f1b4a3689d35 CompositeValue: allow forEachComponent to return a Value. diff -r af6739c6fea5 -r b34dc4905616 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/CompositeValue.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/CompositeValue.java Thu Aug 13 10:09:04 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/CompositeValue.java Thu Aug 13 09:55:47 2015 +0200 @@ -62,7 +62,7 @@ * @param proc * @return the original CompositeValue or a copy with any modified values */ - public abstract CompositeValue forEachComponent(LIRInstruction inst, OperandMode mode, InstructionValueProcedure proc); + public abstract Value forEachComponent(LIRInstruction inst, OperandMode mode, InstructionValueProcedure proc); /** * A helper method to visit {@link Value}[] ensuring that a copy of the array is made if it's