Mercurial > hg > graal-compiler
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java @ 2283:f21664b3dd1c
Keeping up-to-date with Maxine/CRI changes.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 11 Apr 2011 10:22:05 +0200 |
parents | 89bf01e6b049 |
children | 6190d20bd6d6 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java Mon Apr 04 21:02:45 2011 +0200 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotField.java Mon Apr 11 10:22:05 2011 +0200 @@ -56,8 +56,8 @@ } @Override - public CiConstant constantValue(Object object) { - if (object == null) { + public CiConstant constantValue(CiConstant receiver) { + if (receiver == null) { if (constant == null && holder.isResolved() && holder.javaClass() == C1XOptions.class) { Field f; try {