# HG changeset patch # User Bernhard Urban # Date 1385716158 -3600 # Node ID 824e40a3a4a1a2481f8ac80eb468ed3e2b742e11 # Parent c50290e743f9a552a2615147e8d33bc9a0347f06 annotate UnsafeCastNode as deprecated diff -r c50290e743f9 -r 824e40a3a4a1 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/UnsafeCastNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/UnsafeCastNode.java Thu Nov 28 19:54:48 2013 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/UnsafeCastNode.java Fri Nov 29 10:09:18 2013 +0100 @@ -34,7 +34,11 @@ * allows unsafe casts "sideways" in the type hierarchy. It does not allow to "drop" type * information, i.e., an unsafe cast is removed if the input object has a more precise or equal type * than the type this nodes casts to. + * + * @deprecated use {@link PiNode}. */ + +@Deprecated public class UnsafeCastNode extends FloatingGuardedNode implements LIRLowerable, Virtualizable, GuardingNode, IterableNodeType, Canonicalizable, ValueProxy { @Input private ValueNode object;