Mercurial > hg > truffle
changeset 22210:3a96086cf698
Fix a couple typos in SL javadoc.
author | Benoit Daloze <benoit.daloze@jku.at> |
---|---|
date | Wed, 30 Sep 2015 14:25:09 +0200 |
parents | dcee887614b1 |
children | 863f7bb5f645 |
files | truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLEqualNode.java truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadLocalVariableNode.java |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLEqualNode.java Wed Sep 30 13:09:22 2015 +0200 +++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLEqualNode.java Wed Sep 30 14:25:09 2015 +0200 @@ -58,7 +58,7 @@ * same, the specializations already cover all possible cases that can return {@code true} and the * generic case is trivial. * <p> - * Note that we do not need the analogous {@code =!} operator, because we can just + * Note that we do not need the analogous {@code !=} operator, because we can just * {@link SLLogicalNotNode negate} the {@code ==} operator. */ @NodeInfo(shortName = "==")
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadLocalVariableNode.java Wed Sep 30 13:09:22 2015 +0200 +++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadLocalVariableNode.java Wed Sep 30 14:25:09 2015 +0200 @@ -84,8 +84,7 @@ } /** - * This is the generic case that always succeeds. Since we already have another specialization - * with the same signature above, we need to order them explicitly with the order attribute. + * This is the generic case that always succeeds. */ @Specialization(contains = {"readLong", "readBoolean", "readObject"}) protected Object read(VirtualFrame frame) {