Mercurial > hg > truffle
changeset 19355:1c2e8a440bbd
Fix for Class#cast graph builder plugin.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 13 Feb 2015 13:05:54 +0100 |
parents | 343e0e71031b |
children | 6975a87eea64 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java Fri Feb 13 12:54:34 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java Fri Feb 13 13:05:54 2015 +0100 @@ -69,6 +69,7 @@ ResolvedJavaType type = builder.getConstantReflection().asJavaType(rcvr.asConstant()); if (type != null && !type.isPrimitive()) { builder.push(Kind.Object, CheckCastNode.create(type, object, null, false, builder.getAssumptions())); + return true; } } return false;