Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2540:3fc322165071
More flags clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 20:27:43 +0200 |
parents | e1ba5a93e997 |
children | 0f9eeb15e636 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Wed Apr 27 20:22:05 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Wed Apr 27 20:27:43 2011 +0200 @@ -513,7 +513,7 @@ @Override public void visitLoadField(LoadField x) { RiField field = x.field(); - boolean needsPatching = x.needsPatching(); + boolean needsPatching = !x.isLoaded(); LIRDebugInfo info = null; if (needsPatching || x.needsNullCheck()) { info = stateFor(x, x.stateBefore()); @@ -804,7 +804,7 @@ @Override public void visitStoreField(StoreField x) { RiField field = x.field(); - boolean needsPatching = x.needsPatching(); + boolean needsPatching = !x.isLoaded(); LIRDebugInfo info = null; if (needsPatching || x.needsNullCheck()) {