comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLWriteLocalVariableNode.java @ 13882:afd6fa5e8229

SL: Feedback from reviewers
author Christian Wimmer <christian.wimmer@oracle.com>
date Wed, 05 Feb 2014 08:02:15 -0800
parents 64c77f0577bb
children 96bd95f62d92
comparison
equal deleted inserted replaced
13881:272a166a9574 13882:afd6fa5e8229
40 * created by the Truffle DSL based on the {@link NodeField} annotation on the class. 40 * created by the Truffle DSL based on the {@link NodeField} annotation on the class.
41 */ 41 */
42 protected abstract FrameSlot getSlot(); 42 protected abstract FrameSlot getSlot();
43 43
44 /** 44 /**
45 * Specialized method to write a primitive {@code long} value}. This is only possible if the 45 * Specialized method to write a primitive {@code long} value. This is only possible if the
46 * local variable also has currently the type {@code long}, therefore a Truffle DSL 46 * local variable also has currently the type {@code long}, therefore a Truffle DSL
47 * {@link #isLongKind() custom guard} is specified. 47 * {@link #isLongKind() custom guard} is specified.
48 */ 48 */
49 @Specialization(guards = "isLongKind") 49 @Specialization(guards = "isLongKind")
50 protected long write(VirtualFrame frame, long value) { 50 protected long write(VirtualFrame frame, long value) {