Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/LoadField.java @ 2533:c480605ef068
Removed canonicalizer.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 19:05:35 +0200 |
parents | 16b9a8b5ad39 |
children | e1ba5a93e997 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/LoadField.java Wed Apr 27 19:00:40 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/LoadField.java Wed Apr 27 19:05:35 2011 +0200 @@ -22,7 +22,6 @@ */ package com.sun.c1x.ir; -import com.sun.c1x.*; import com.sun.c1x.debug.*; import com.sun.c1x.value.*; import com.sun.cri.ci.*; @@ -79,9 +78,6 @@ * @return {@code null} if this load cannot be reduced to a constant */ public CiConstant constantValue() { - if (!C1XOptions.CanonicalizeConstantFields) { - return null; - } if (isStatic()) { return field.constantValue(null); } else if (object().isConstant()) {