# HG changeset patch # User Christian Wimmer # Date 1400637335 25200 # Node ID 90b324f2bd663c54e0d263a048e4120c979e36c8 # Parent af16872a18f1f3a2588afba162ea44cce7559581 Bugfix: as long as snippets are preprocessed, PiNode must not be canonicalized diff -r af16872a18f1 -r 90b324f2bd66 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Tue May 20 18:54:48 2014 -0700 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Tue May 20 18:55:35 2014 -0700 @@ -93,6 +93,10 @@ @Override public Node canonical(CanonicalizerTool tool) { + if (stamp() == StampFactory.forNodeIntrinsic()) { + /* The actual stamp has not been set yet. */ + return this; + } inferStamp(); if (stamp().equals(object().stamp())) { return object();