OSRLocalNode.java revision 12651:6ef01bd40ce2
1169689Skan/*
2132718Skan * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
3132718Skan * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4132718Skan *
5132718Skan * This code is free software; you can redistribute it and/or modify it
6132718Skan * under the terms of the GNU General Public License version 2 only, as
7132718Skan * published by the Free Software Foundation.
8132718Skan *
9132718Skan * This code is distributed in the hope that it will be useful, but WITHOUT
10132718Skan * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11132718Skan * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12132718Skan * version 2 for more details (a copy is included in the LICENSE file that
13132718Skan * accompanied this code).
14132718Skan *
15132718Skan * You should have received a copy of the GNU General Public License version
16132718Skan * 2 along with this work; if not, write to the Free Software Foundation,
17169689Skan * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18169689Skan *
19132718Skan * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20132718Skan * or visit www.oracle.com if you need additional information or have any
21132718Skan * questions.
22132718Skan */
23132718Skanpackage org.graalvm.compiler.nodes.extended;
24132718Skan
25132718Skanimport org.graalvm.compiler.core.common.type.Stamp;
26132718Skanimport org.graalvm.compiler.graph.IterableNodeType;
27132718Skanimport org.graalvm.compiler.graph.NodeClass;
28132718Skanimport org.graalvm.compiler.nodeinfo.NodeInfo;
29132718Skanimport org.graalvm.compiler.nodes.AbstractLocalNode;
30132718Skan
31132718Skan@NodeInfo(nameTemplate = "OSRLocal({p#index})")
32132718Skanpublic final class OSRLocalNode extends AbstractLocalNode implements IterableNodeType {
33132718Skan
34169689Skan    public static final NodeClass<OSRLocalNode> TYPE = NodeClass.create(OSRLocalNode.class);
35169689Skan
36169689Skan    public OSRLocalNode(int index, Stamp stamp) {
37132718Skan        super(TYPE, index, stamp);
38132718Skan    }
39132718Skan
40132718Skan}
41132718Skan