SerialArrayRangeWriteBarrier.java revision 12657:6ef01bd40ce2
1277042Sloos/*
2277042Sloos * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
3277042Sloos * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4277042Sloos *
5277042Sloos * This code is free software; you can redistribute it and/or modify it
6277042Sloos * under the terms of the GNU General Public License version 2 only, as
7277042Sloos * published by the Free Software Foundation.
8277042Sloos *
9277042Sloos * This code is distributed in the hope that it will be useful, but WITHOUT
10277042Sloos * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11277042Sloos * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12277042Sloos * version 2 for more details (a copy is included in the LICENSE file that
13277042Sloos * accompanied this code).
14277042Sloos *
15277042Sloos * You should have received a copy of the GNU General Public License version
16277042Sloos * 2 along with this work; if not, write to the Free Software Foundation,
17277042Sloos * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18277042Sloos *
19277042Sloos * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20277042Sloos * or visit www.oracle.com if you need additional information or have any
21277042Sloos * questions.
22277042Sloos */
23277042Sloospackage org.graalvm.compiler.hotspot.nodes;
24277042Sloos
25277042Sloosimport static org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_15;
26277042Sloosimport static org.graalvm.compiler.nodeinfo.NodeSize.SIZE_20;
27277042Sloos
28277042Sloosimport org.graalvm.compiler.graph.NodeClass;
29277042Sloosimport org.graalvm.compiler.nodeinfo.NodeInfo;
30277042Sloosimport org.graalvm.compiler.nodes.ValueNode;
31277042Sloos
32277042Sloos@NodeInfo(cycles = CYCLES_15, size = SIZE_20)
33277042Sloospublic final class SerialArrayRangeWriteBarrier extends ArrayRangeWriteBarrier {
34277042Sloos
35277042Sloos    public static final NodeClass<SerialArrayRangeWriteBarrier> TYPE = NodeClass.create(SerialArrayRangeWriteBarrier.class);
36277042Sloos
37277042Sloos    public SerialArrayRangeWriteBarrier(ValueNode object, ValueNode startIndex, ValueNode length) {
38277042Sloos        super(TYPE, object, startIndex, length);
39277042Sloos    }
40277042Sloos
41277042Sloos}
42277042Sloos