diff --git a/truffle/src/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ChildExecutionTest.java b/truffle/src/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ChildExecutionTest.java index 0bb1d49c822e..79a58713e302 100644 --- a/truffle/src/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ChildExecutionTest.java +++ b/truffle/src/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ChildExecutionTest.java @@ -43,8 +43,6 @@ import com.oracle.truffle.api.dsl.NodeChild; import com.oracle.truffle.api.dsl.NodeChildren; import com.oracle.truffle.api.dsl.Specialization; -import com.oracle.truffle.api.dsl.TypeSystem; -import com.oracle.truffle.api.dsl.TypeSystemReference; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.nodes.Node; import com.oracle.truffle.api.nodes.UnexpectedResultException; @@ -83,17 +81,6 @@ public String executeString(VirtualFrame frame) { } } - public static class ChildExecutionChildNodeWithError extends Node { - - public int executeInt(VirtualFrame frame) throws UnexpectedResultException { - throw new UnexpectedResultException(null); - } - - public Object executeObject(VirtualFrame frame) { - return 0; - } - } - @ExpectError("Child execution method: String ChildExecutionChildNode2::executeString(VirtualFrame) called from method: boolean TestNode2::executeBool(boolean) requires a frame parameter.") @NodeChildren({ @NodeChild(value = "first", type = ChildExecutionChildNode2.class), @@ -144,28 +131,4 @@ protected boolean doIt(String a, String b) { return a.isEmpty() && b.isEmpty(); } } - - @TypeSystem({int.class}) - public static class ChildTestTypeSystem { - } - - @NodeChildren({ - @NodeChild(value = "first", type = ChildExecutionChildNodeWithError.class), - @NodeChild(value = "second", type = ChildExecutionChildNode2.class) - }) - @TypeSystemReference(ChildTestTypeSystem.class) - public abstract static class TestNode4 extends Node { - - public abstract Object execute(VirtualFrame frame); - - @Specialization - protected boolean doItPrim(int a, String b) { - return true; - } - - @Specialization - protected boolean doIt(String a, String b) { - return true; - } - } }