Mercurial > hg > truffle
comparison graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/cfs/EquationalReasoner.java @ 15483:01a8820c1228
[flow-sensitive] minor refactorings for readability, documentation
author | Miguel Garcia <miguel.m.garcia@oracle.com> |
---|---|
date | Fri, 02 May 2014 21:05:13 +0200 |
parents | 97e0f9ec5752 |
children | 7f492a524ca7 |
comparison
equal
deleted
inserted
replaced
15481:09d721bcffe2 | 15483:01a8820c1228 |
---|---|
217 // -------------------------------------------------------------------- | 217 // -------------------------------------------------------------------- |
218 | 218 |
219 if (n == null) { | 219 if (n == null) { |
220 return null; | 220 return null; |
221 } | 221 } |
222 assert !(n instanceof GuardNode) : "This phase not yet ready to run during MidTier"; | 222 assert !(n instanceof GuardNode) : "This phase not intended to run during MidTier"; |
223 if (!(n instanceof ValueNode)) { | 223 if (!(n instanceof ValueNode)) { |
224 return n; | 224 return n; |
225 } | 225 } |
226 ValueNode v = (ValueNode) n; | 226 ValueNode v = (ValueNode) n; |
227 if (v.stamp() instanceof IllegalStamp) { | 227 if (v.stamp() instanceof IllegalStamp) { |