diff graal/GraalCompiler/src/com/sun/c1x/opt/InstructionSubstituter.java @ 2635:0f69be73d5ce

More frame state fixes.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 11 May 2011 11:21:15 +0200
parents 3558ca7088c0
children 7ed72769d51a
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/opt/InstructionSubstituter.java	Wed May 11 10:52:37 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/opt/InstructionSubstituter.java	Wed May 11 11:21:15 2011 +0200
@@ -89,6 +89,10 @@
     }
 
     public Value apply(Value i) {
+        if (i instanceof FrameState) {
+            FrameState state = (FrameState) i;
+            state.inputValuesDo(this);
+        }
         if (i != null) {
             return getSubst(i);
         }