comparison 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
comparison
equal deleted inserted replaced
2634:4dd0573f510b 2635:0f69be73d5ce
87 } 87 }
88 return p; 88 return p;
89 } 89 }
90 90
91 public Value apply(Value i) { 91 public Value apply(Value i) {
92 if (i instanceof FrameState) {
93 FrameState state = (FrameState) i;
94 state.inputValuesDo(this);
95 }
92 if (i != null) { 96 if (i != null) {
93 return getSubst(i); 97 return getSubst(i);
94 } 98 }
95 return i; 99 return i;
96 } 100 }