Mercurial > hg > graal-compiler
changeset 23073:d6a2b901dced
Handle special case where unproxifying a value returns null, because the value was already deleted.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 24 Nov 2015 15:15:53 +0100 |
parents | 97efbbecbc16 |
children | 6bbdf92109e6 |
files | graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/DominatorConditionalEliminationPhase.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/DominatorConditionalEliminationPhase.java Tue Nov 24 13:42:35 2015 +0100 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/DominatorConditionalEliminationPhase.java Tue Nov 24 15:15:53 2015 +0100 @@ -568,6 +568,9 @@ private Iterable<InfoElement> getInfoElements(ValueNode proxiedValue) { ValueNode value = GraphUtil.unproxify(proxiedValue); + if (value == null) { + return Collections.emptyList(); + } Info info = map.get(value); if (info == null) { return Collections.emptyList();