comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadLocalVariableNode.java @ 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 dc83cc1f94f2
children
comparison
equal deleted inserted replaced
22209:dcee887614b1 22210:3a96086cf698
82 protected Object readObject(VirtualFrame frame) throws FrameSlotTypeException { 82 protected Object readObject(VirtualFrame frame) throws FrameSlotTypeException {
83 return frame.getObject(getSlot()); 83 return frame.getObject(getSlot());
84 } 84 }
85 85
86 /** 86 /**
87 * This is the generic case that always succeeds. Since we already have another specialization 87 * This is the generic case that always succeeds.
88 * with the same signature above, we need to order them explicitly with the order attribute.
89 */ 88 */
90 @Specialization(contains = {"readLong", "readBoolean", "readObject"}) 89 @Specialization(contains = {"readLong", "readBoolean", "readObject"})
91 protected Object read(VirtualFrame frame) { 90 protected Object read(VirtualFrame frame) {
92 return frame.getValue(getSlot()); 91 return frame.getValue(getSlot());
93 } 92 }