Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/OSRStartNode.java @ 19403:7e2c87dae93e
Create static final NodeClass field named TYPE in Node subclasses.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 16 Feb 2015 15:43:03 +0100 |
parents | f57d86eb036f |
children | 61d3cb8e1280 |
comparison
equal
deleted
inserted
replaced
19402:a306749d3e86 | 19403:7e2c87dae93e |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2013, 2015, 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. |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.graal.nodes.extended; | 23 package com.oracle.graal.nodes.extended; |
24 | 24 |
25 import com.oracle.graal.graph.*; | |
25 import com.oracle.graal.graph.iterators.*; | 26 import com.oracle.graal.graph.iterators.*; |
26 import com.oracle.graal.nodeinfo.*; | 27 import com.oracle.graal.nodeinfo.*; |
27 import com.oracle.graal.nodes.*; | 28 import com.oracle.graal.nodes.*; |
28 import com.oracle.graal.nodes.spi.*; | 29 import com.oracle.graal.nodes.spi.*; |
29 | 30 |
30 @NodeInfo | 31 @NodeInfo |
31 public class OSRStartNode extends StartNode implements Lowerable { | 32 public final class OSRStartNode extends StartNode implements Lowerable { |
33 public static final NodeClass TYPE = NodeClass.get(OSRStartNode.class); | |
34 | |
32 public OSRStartNode() { | 35 public OSRStartNode() { |
36 super(TYPE); | |
33 } | 37 } |
34 | 38 |
35 @Override | 39 @Override |
36 public void lower(LoweringTool tool) { | 40 public void lower(LoweringTool tool) { |
37 tool.getLowerer().lower(this, tool); | 41 tool.getLowerer().lower(this, tool); |