comparison graal/com.oracle.max.graal.nodes/src/com/oracle/max/graal/nodes/java/MethodCallTargetNode.java @ 4411:cd2b68ef8e23

cleanup around filter and predicates : remove duplicate compiler.util.NodeIterators add contains to NodeIterable support isNotA(Class).nor(Class) filtering support filtering on interfaces remove and/or(Class) from FilteredNodeIterable replace with isA(Class).or(Class) lower the cost on extending NodeIterable (remove the until field) NodeList is a NodeIterable Use NodeIterable functions where possible
author Gilles Duboscq <duboscq@ssw.jku.at>
date Mon, 30 Jan 2012 13:06:11 +0100
parents 4a609a685fa4
children 1827e00c87b9 eb6df44a1374
comparison
equal deleted inserted replaced
4337:b801d2f9e2b0 4411:cd2b68ef8e23
104 public CiKind returnKind() { 104 public CiKind returnKind() {
105 return targetMethod().signature().returnKind(false); 105 return targetMethod().signature().returnKind(false);
106 } 106 }
107 107
108 public Invoke invoke() { 108 public Invoke invoke() {
109 if (this.usages().size() == 0) { 109 return (Invoke) this.usages().first();
110 return null;
111 }
112 return (Invoke) this.usages().iterator().next();
113 } 110 }
114 111
115 112
116 @Override 113 @Override
117 public boolean verify() { 114 public boolean verify() {