Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/LoadHubNode.java @ 19306:a0a760b0fb5f
pulled method evolution dependencies out of Assumptions and directly into StructuredGraph
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 12 Feb 2015 01:54:05 +0100 |
parents | 8ab925a6f724 |
children | 7e2c87dae93e |
comparison
equal
deleted
inserted
replaced
19305:48bdad77afcd | 19306:a0a760b0fb5f |
---|---|
71 ObjectStamp objectStamp = (ObjectStamp) getValue().stamp(); | 71 ObjectStamp objectStamp = (ObjectStamp) getValue().stamp(); |
72 | 72 |
73 ResolvedJavaType exactType; | 73 ResolvedJavaType exactType; |
74 if (objectStamp.isExactType()) { | 74 if (objectStamp.isExactType()) { |
75 exactType = objectStamp.type(); | 75 exactType = objectStamp.type(); |
76 } else if (objectStamp.type() != null && graph().getAssumptions().useOptimisticAssumptions()) { | 76 } else if (objectStamp.type() != null && graph().getAssumptions() != null) { |
77 exactType = objectStamp.type().findUniqueConcreteSubtype(); | 77 exactType = objectStamp.type().findUniqueConcreteSubtype(); |
78 if (exactType != null) { | 78 if (exactType != null) { |
79 graph().getAssumptions().recordConcreteSubtype(objectStamp.type(), exactType); | 79 graph().getAssumptions().recordConcreteSubtype(objectStamp.type(), exactType); |
80 } | 80 } |
81 } else { | 81 } else { |