Mercurial > hg > graal-compiler
changeset 11745:ea4e9cbaa0c9
UnsafeArrayCopyNode: location identity must be ANY_LOCATION as it lowers to snippets containing nodes with ANY_LOCATION
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 19 Sep 2013 21:53:20 +0200 |
parents | 0ba840567fba |
children | 661e10237142 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/UnsafeArrayCopyNode.java |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/UnsafeArrayCopyNode.java Sat Sep 21 04:10:53 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/UnsafeArrayCopyNode.java Thu Sep 19 21:53:20 2013 +0200 @@ -112,11 +112,7 @@ @Override public LocationIdentity getLocationIdentity() { - if (elementKind == null) { - return ANY_LOCATION; - } else { - return NamedLocationIdentity.getArrayLocation(elementKind); - } + return ANY_LOCATION; } @NodeIntrinsic