Mercurial > hg > truffle
changeset 11958:a0f5be106e67
Simplify ConstantNode.onlyUsedInVirtualState
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 10 Oct 2013 13:44:59 +0200 |
parents | ee3b959c81b8 |
children | 23ccaa863eda 3cce976666d9 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ConstantNode.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ConstantNode.java Thu Oct 10 12:07:58 2013 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ConstantNode.java Thu Oct 10 13:44:59 2013 +0200 @@ -65,9 +65,7 @@ private boolean onlyUsedInVirtualState() { for (Node n : this.usages()) { - if (n instanceof FrameState) { - // Only frame state usages. - } else if (n instanceof VirtualState) { + if (n instanceof VirtualState) { // Only virtual usage. } else { return false;