Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.graal.graph.test/src/com/oracle/graal/graph/test/NodeUsagesTests.java @ 18998:ec0733b5a90a
Allow final modifier on node subclasses and start adding the modifier to leaf classes.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 28 Jan 2015 02:34:14 +0100 |
parents | 14496953435e |
children | 7e2c87dae93e |
line wrap: on
line diff
--- a/graal/com.oracle.graal.graph.test/src/com/oracle/graal/graph/test/NodeUsagesTests.java Wed Jan 28 01:11:25 2015 +0100 +++ b/graal/com.oracle.graal.graph.test/src/com/oracle/graal/graph/test/NodeUsagesTests.java Wed Jan 28 02:34:14 2015 +0100 @@ -34,13 +34,13 @@ public class NodeUsagesTests { @NodeInfo - static class Def extends Node { + static final class Def extends Node { protected Def() { } } @NodeInfo - static class Use extends Node { + static final class Use extends Node { @Input Def in0; @Input Def in1; @Input Def in2;