Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
2282:0309d394eb5f | 2283:f21664b3dd1c |
---|---|
54 // TODO Auto-generated method stub | 54 // TODO Auto-generated method stub |
55 return 0; | 55 return 0; |
56 } | 56 } |
57 | 57 |
58 @Override | 58 @Override |
59 public CiConstant constantValue(Object object) { | 59 public CiConstant constantValue(CiConstant receiver) { |
60 if (object == null) { | 60 if (receiver == null) { |
61 if (constant == null && holder.isResolved() && holder.javaClass() == C1XOptions.class) { | 61 if (constant == null && holder.isResolved() && holder.javaClass() == C1XOptions.class) { |
62 Field f; | 62 Field f; |
63 try { | 63 try { |
64 f = C1XOptions.class.getField(name); | 64 f = C1XOptions.class.getField(name); |
65 } catch (SecurityException e1) { | 65 } catch (SecurityException e1) { |