Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLTypes.java @ 13882:afd6fa5e8229
SL: Feedback from reviewers
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 05 Feb 2014 08:02:15 -0800 |
parents | b16ec83edc73 |
children | 7392b9e0470b |
comparison
equal
deleted
inserted
replaced
13881:272a166a9574 | 13882:afd6fa5e8229 |
---|---|
27 import com.oracle.truffle.api.dsl.*; | 27 import com.oracle.truffle.api.dsl.*; |
28 import com.oracle.truffle.sl.*; | 28 import com.oracle.truffle.sl.*; |
29 import com.oracle.truffle.sl.runtime.*; | 29 import com.oracle.truffle.sl.runtime.*; |
30 | 30 |
31 /** | 31 /** |
32 * The type system of SL, as explained in {@link SLMain}. Based on the annotation {@link TypeSystem} | 32 * The type system of SL, as explained in {@link SLMain}. Based on the {@link TypeSystem} |
33 * , the Truffle DSL generates the subclass {@link SLTypesGen} with type test and type conversion | 33 * annotation, the Truffle DSL generates the subclass {@link SLTypesGen} with type test and type |
34 * methods for all types. In this class, we only cover types where the automatically generated ones | 34 * conversion methods for all types. In this class, we only cover types where the automatically |
35 * would not be sufficient. | 35 * generated ones would not be sufficient. |
36 */ | 36 */ |
37 @TypeSystem({long.class, BigInteger.class, boolean.class, String.class, SLFunction.class, SLNull.class}) | 37 @TypeSystem({long.class, BigInteger.class, boolean.class, String.class, SLFunction.class, SLNull.class}) |
38 public abstract class SLTypes { | 38 public abstract class SLTypes { |
39 | 39 |
40 /** | 40 /** |