Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLLessThanNode.java @ 13836:64c77f0577bb
More documentation and improvements of Simple Language
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 17:53:27 -0800 |
parents | b16ec83edc73 |
children | abe7128ca473 |
comparison
equal
deleted
inserted
replaced
13835:67e4e7f56911 | 13836:64c77f0577bb |
---|---|
26 | 26 |
27 import com.oracle.truffle.api.dsl.*; | 27 import com.oracle.truffle.api.dsl.*; |
28 import com.oracle.truffle.api.nodes.*; | 28 import com.oracle.truffle.api.nodes.*; |
29 import com.oracle.truffle.sl.nodes.*; | 29 import com.oracle.truffle.sl.nodes.*; |
30 | 30 |
31 /** | |
32 * This class is similar to the extensively documented {@link SLAddNode}. The only difference: the | |
33 * specialized methods return {@code boolean} instead of the input types. | |
34 */ | |
31 @NodeInfo(shortName = "<") | 35 @NodeInfo(shortName = "<") |
32 public abstract class SLLessThanNode extends SLBinaryNode { | 36 public abstract class SLLessThanNode extends SLBinaryNode { |
33 | 37 |
34 @Specialization | 38 @Specialization |
35 protected boolean lessThan(long left, long right) { | 39 protected boolean lessThan(long left, long right) { |