Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLWriteLocalVariableNode.java @ 16512:abe7128ca473
SL: upgrade source attribution
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Mon, 14 Jul 2014 16:51:41 -0700 |
parents | 96bd95f62d92 |
children | e5e1013c04fd |
comparison
equal
deleted
inserted
replaced
16511:aee02665e505 | 16512:abe7128ca473 |
---|---|
23 package com.oracle.truffle.sl.nodes.local; | 23 package com.oracle.truffle.sl.nodes.local; |
24 | 24 |
25 import com.oracle.truffle.api.*; | 25 import com.oracle.truffle.api.*; |
26 import com.oracle.truffle.api.dsl.*; | 26 import com.oracle.truffle.api.dsl.*; |
27 import com.oracle.truffle.api.frame.*; | 27 import com.oracle.truffle.api.frame.*; |
28 import com.oracle.truffle.api.source.*; | |
28 import com.oracle.truffle.sl.nodes.*; | 29 import com.oracle.truffle.sl.nodes.*; |
29 | 30 |
30 /** | 31 /** |
31 * Node to write a local variable to a function's {@link VirtualFrame frame}. The Truffle frame API | 32 * Node to write a local variable to a function's {@link VirtualFrame frame}. The Truffle frame API |
32 * allows to store primitive values of all Java primitive types, and Object values. | 33 * allows to store primitive values of all Java primitive types, and Object values. |
33 */ | 34 */ |
34 @NodeChild("valueNode") | 35 @NodeChild("valueNode") |
35 @NodeField(name = "slot", type = FrameSlot.class) | 36 @NodeField(name = "slot", type = FrameSlot.class) |
36 public abstract class SLWriteLocalVariableNode extends SLExpressionNode { | 37 public abstract class SLWriteLocalVariableNode extends SLExpressionNode { |
38 | |
39 public SLWriteLocalVariableNode(SourceSection src) { | |
40 super(src); | |
41 } | |
37 | 42 |
38 /** | 43 /** |
39 * Returns the descriptor of the accessed local variable. The implementation of this method is | 44 * Returns the descriptor of the accessed local variable. The implementation of this method is |
40 * created by the Truffle DSL based on the {@link NodeField} annotation on the class. | 45 * created by the Truffle DSL based on the {@link NodeField} annotation on the class. |
41 */ | 46 */ |