G1ArrayRangePreWriteBarrier.java revision 12657:6ef01bd40ce2
176612Stshiozak/*
276612Stshiozak * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
376612Stshiozak * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
476612Stshiozak *
576612Stshiozak * This code is free software; you can redistribute it and/or modify it
676612Stshiozak * under the terms of the GNU General Public License version 2 only, as
776612Stshiozak * published by the Free Software Foundation.
876612Stshiozak *
976612Stshiozak * This code is distributed in the hope that it will be useful, but WITHOUT
1076612Stshiozak * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1176612Stshiozak * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1276612Stshiozak * version 2 for more details (a copy is included in the LICENSE file that
1376612Stshiozak * accompanied this code).
1476612Stshiozak *
1576612Stshiozak * You should have received a copy of the GNU General Public License version
1676612Stshiozak * 2 along with this work; if not, write to the Free Software Foundation,
1776612Stshiozak * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1876612Stshiozak *
1976612Stshiozak * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2076612Stshiozak * or visit www.oracle.com if you need additional information or have any
2176612Stshiozak * questions.
2276612Stshiozak */
2376612Stshiozakpackage org.graalvm.compiler.hotspot.nodes;
2476612Stshiozak
2576612Stshiozakimport static org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_100;
2676612Stshiozakimport static org.graalvm.compiler.nodeinfo.NodeSize.SIZE_100;
2776612Stshiozak
2876612Stshiozakimport org.graalvm.compiler.graph.NodeClass;
2976612Stshiozakimport org.graalvm.compiler.nodeinfo.NodeInfo;
3092986Sobrienimport org.graalvm.compiler.nodes.ValueNode;
3176612Stshiozak
3276612Stshiozak@NodeInfo(cycles = CYCLES_100, size = SIZE_100)
3376612Stshiozakpublic final class G1ArrayRangePreWriteBarrier extends ArrayRangeWriteBarrier {
3492986Sobrien    public static final NodeClass<G1ArrayRangePreWriteBarrier> TYPE = NodeClass.create(G1ArrayRangePreWriteBarrier.class);
3586170Sobrien
3676612Stshiozak    public G1ArrayRangePreWriteBarrier(ValueNode object, ValueNode startIndex, ValueNode length) {
3776612Stshiozak        super(TYPE, object, startIndex, length);
3876612Stshiozak    }
3976612Stshiozak
40188080Sdanger}
4176612Stshiozak