Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/NegatedGuardsTest.java @ 16756:5148aab962af
Truffle-DSL: updated tests for the new generation layout.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 15:53:05 +0200 |
parents | 4eb23800c907 |
children | d834f85ac8a1 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/NegatedGuardsTest.java Mon Aug 11 15:53:05 2014 +0200 +++ b/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/NegatedGuardsTest.java Mon Aug 11 15:53:05 2014 +0200 @@ -45,12 +45,12 @@ return true; } - @Specialization(order = 1, guards = "!guard") + @Specialization(guards = "!guard") int do1() { throw new AssertionError(); } - @Specialization(order = 2) + @Specialization() int do2() { return 42; // the generic answer to all questions }