replacing nodes with DeoptimizeNodes

Doug Simon doug.simon at oracle.com
Wed Mar 5 02:18:00 PST 2014


On Mar 5, 2014, at 1:27 AM, Deneau, Tom <tom.deneau at amd.com> wrote:

> Let's say there is some random graal node that you choose not to implement so you want it to be replaced by a DeoptimizeNode.  How does one do that if the original node is not a terminal node, ie, it has usages?

The subgraph rooted at that node has to be removed (probably through use of com.oracle.graal.nodes.util.GraphUtil.killWithUnusedFloatingInputs(Node)).

-Doug


More information about the graal-dev mailing list