Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/NegatedGuardsTest.java @ 16866:d834f85ac8a1
small cleanup
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Tue, 19 Aug 2014 19:17:38 +0200 |
parents | 5148aab962af |
children | 08aa0372dad4 |
comparison
equal
deleted
inserted
replaced
16865:8b0a6a9c3a4a | 16866:d834f85ac8a1 |
---|---|
48 @Specialization(guards = "!guard") | 48 @Specialization(guards = "!guard") |
49 int do1() { | 49 int do1() { |
50 throw new AssertionError(); | 50 throw new AssertionError(); |
51 } | 51 } |
52 | 52 |
53 @Specialization() | 53 @Specialization |
54 int do2() { | 54 int do2() { |
55 return 42; // the generic answer to all questions | 55 return 42; // the generic answer to all questions |
56 } | 56 } |
57 } | 57 } |
58 } | 58 } |