src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/AMD64StringUTF16CompressNode.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
80 // Model read access via 'src' using: |
80 // Model read access via 'src' using: |
81 return NamedLocationIdentity.getArrayLocation(readKind); |
81 return NamedLocationIdentity.getArrayLocation(readKind); |
82 } |
82 } |
83 |
83 |
84 @Override |
84 @Override |
85 public LocationIdentity[] getLocationIdentities() { |
85 public LocationIdentity[] getKilledLocationIdentities() { |
86 // Model write access via 'dst' using: |
86 // Model write access via 'dst' using: |
87 return new LocationIdentity[]{NamedLocationIdentity.getArrayLocation(JavaKind.Byte)}; |
87 return new LocationIdentity[]{NamedLocationIdentity.getArrayLocation(JavaKind.Byte)}; |
88 } |
88 } |
89 |
89 |
90 @Override |
90 @Override |