# HG changeset patch # User Thomas Wuerthinger # Date 1450098951 -3600 # Node ID 3a2277fdee37fb7e47c34ed51c5ebc76782d2a79 # Parent 1c5c04b9aaf1cac70705fae95d65306b524e65b6 Fix another EntryProxyNode cast in OnStackReplacementPhase. diff -r 1c5c04b9aaf1 -r 3a2277fdee37 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java Mon Dec 14 13:26:28 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java Mon Dec 14 14:15:51 2015 +0100 @@ -110,8 +110,8 @@ for (int i = 0; i < osrState.localsSize(); i++) { ValueNode value = osrState.localAt(i); - if (value instanceof ProxyNode) { - ProxyNode proxy = (ProxyNode) value; + if (value instanceof EntryProxyNode) { + EntryProxyNode proxy = (EntryProxyNode) value; /* * we need to drop the stamp since the types we see during OSR may be too precise * (if a branch was not parsed for example).