Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/TypeSystemTest.java @ 11903:df1d665ca846
Truffle; remove uses of Node() constructor in test code
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 06 Oct 2013 19:53:00 -0700 |
parents | 2fb276f5e3e9 |
children | b563d9cb084f |
comparison
equal
deleted
inserted
replaced
11901:61767ccd4600 | 11903:df1d665ca846 |
---|---|
55 | 55 |
56 } | 56 } |
57 | 57 |
58 @TypeSystemReference(SimpleTypes.class) | 58 @TypeSystemReference(SimpleTypes.class) |
59 public abstract static class ValueNode extends Node { | 59 public abstract static class ValueNode extends Node { |
60 | |
61 public ValueNode() { | |
62 super(null); | |
63 } | |
60 | 64 |
61 public int executeInt(VirtualFrame frame) throws UnexpectedResultException { | 65 public int executeInt(VirtualFrame frame) throws UnexpectedResultException { |
62 return SimpleTypesGen.SIMPLETYPES.expectInteger(execute(frame)); | 66 return SimpleTypesGen.SIMPLETYPES.expectInteger(execute(frame)); |
63 } | 67 } |
64 | 68 |