Mercurial > hg > truffle
changeset 14151:1a9dca3c3fd7
Relax wrong assertion.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 12 Mar 2014 10:19:15 +0100 |
parents | 38ca365c09ca |
children | 42013bd831d6 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java Wed Mar 12 09:36:12 2014 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java Wed Mar 12 10:19:15 2014 +0100 @@ -101,7 +101,7 @@ */ proxy.replaceAndDelete(graph.unique(new OSRLocalNode(i, proxy.stamp().unrestricted()))); } else { - assert value instanceof OSRLocalNode; + assert value == null || value instanceof OSRLocalNode; } }