src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/arraycopy/GenericArrayCopyCallNode.java
changeset 58877 aec7bf35d6f5
parent 52910 583fd71c47d6
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 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.
   100         graph().addBeforeFixed(this, result);
   100         graph().addBeforeFixed(this, result);
   101         return result;
   101         return result;
   102     }
   102     }
   103 
   103 
   104     @Override
   104     @Override
   105     public LocationIdentity getLocationIdentity() {
   105     public LocationIdentity getKilledLocationIdentity() {
   106         return LocationIdentity.any();
   106         return LocationIdentity.any();
   107     }
   107     }
   108 
   108 
   109     @NodeIntrinsic
   109     @NodeIntrinsic
   110     public static native int genericArraycopy(Object src, int srcPos, Object dest, int destPos, int length);
   110     public static native int genericArraycopy(Object src, int srcPos, Object dest, int destPos, int length);