Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotObjectConstant.java @ 18288:feef9ed5fc56
added HotSpotObjectConstant.isInternedString()
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Nov 2014 13:57:43 +0100 |
parents | b7461f7fa8a0 |
children | 7acff34abbf7 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotObjectConstant.java Thu Nov 06 13:55:47 2014 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotObjectConstant.java Thu Nov 06 13:57:43 2014 +0100 @@ -96,4 +96,9 @@ * @return {@code null} if this constant does not represent a {@link Class} object */ JavaConstant getCompositeValueClass(); + + /** + * Determines if this constant represents an {@linkplain String#intern() interned} string. + */ + boolean isInternedString(); }