changeset 23176:3a2277fdee37

Fix another EntryProxyNode cast in OnStackReplacementPhase.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 14 Dec 2015 14:15:51 +0100
parents 1c5c04b9aaf1
children 037651effa45
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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).