Mercurial > hg > truffle
changeset 19356:6975a87eea64
Correctly append CheckCast node.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 13 Feb 2015 13:37:52 +0100 |
parents | 1c2e8a440bbd |
children | 26777392b971 dc59d2800470 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java Fri Feb 13 13:05:54 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotGraphBuilderPlugins.java Fri Feb 13 13:37:52 2015 +0100 @@ -68,7 +68,7 @@ if (rcvr.isConstant() && !rcvr.isNullConstant()) { ResolvedJavaType type = builder.getConstantReflection().asJavaType(rcvr.asConstant()); if (type != null && !type.isPrimitive()) { - builder.push(Kind.Object, CheckCastNode.create(type, object, null, false, builder.getAssumptions())); + builder.push(Kind.Object, builder.append(CheckCastNode.create(type, object, null, false, builder.getAssumptions()))); return true; } }