changeset 13192:824e40a3a4a1

annotate UnsafeCastNode as deprecated
author Bernhard Urban <bernhard.urban@jku.at>
date Fri, 29 Nov 2013 10:09:18 +0100
parents c50290e743f9
children 717de4f0b38f
files graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/UnsafeCastNode.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;