Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java @ 14067:655a4fd5038b
Remove unused imports.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 05 Mar 2014 14:01:21 +0100 |
parents | e455fc531ec2 |
children | c5411233cdf8 |
comparison
equal
deleted
inserted
replaced
14066:56726a90dc71 | 14067:655a4fd5038b |
---|---|
477 public static RootNode findOutermostRootNode(Node node) { | 477 public static RootNode findOutermostRootNode(Node node) { |
478 Node parent = node; | 478 Node parent = node; |
479 while (parent != null) { | 479 while (parent != null) { |
480 if (parent instanceof RootNode) { | 480 if (parent instanceof RootNode) { |
481 RootNode root = (RootNode) parent; | 481 RootNode root = (RootNode) parent; |
482 @SuppressWarnings("deprecation") | |
482 Node next = root.getParentInlinedCall(); | 483 Node next = root.getParentInlinedCall(); |
483 if (next != null) { | 484 if (next != null) { |
484 parent = next; | 485 parent = next; |
485 } else { | 486 } else { |
486 return root; | 487 return root; |