Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.graal.nodes/src/com/oracle/max/graal/nodes/java/MethodCallTargetNode.java @ 4309:4a609a685fa4
changes to Node structures:
* add more uses of higher-level graph manipulation methods
* CanonicalierPhase cleanup
* introduce FloatingReadNode, make ReadNode an ordinary fixed nodeToBlock
* let Canonicalizable.canonical return ValueNode (instead of Node)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 17 Jan 2012 19:45:39 +0100 |
parents | aaac4894175c |
children | cd2b68ef8e23 |
comparison
equal
deleted
inserted
replaced
4308:cbed6f7e2d10 | 4309:4a609a685fa4 |
---|---|
130 return super.toString(verbosity); | 130 return super.toString(verbosity); |
131 } | 131 } |
132 } | 132 } |
133 | 133 |
134 @Override | 134 @Override |
135 public Node canonical(CanonicalizerTool tool) { | 135 public ValueNode canonical(CanonicalizerTool tool) { |
136 if (!isStatic()) { | 136 if (!isStatic()) { |
137 ValueNode receiver = receiver(); | 137 ValueNode receiver = receiver(); |
138 if (receiver != null && receiver.exactType() != null) { | 138 if (receiver != null && receiver.exactType() != null) { |
139 if (invokeKind == InvokeKind.Interface) { | 139 if (invokeKind == InvokeKind.Interface) { |
140 invokeKind = InvokeKind.Virtual; | 140 invokeKind = InvokeKind.Virtual; |