comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.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 111bf82514ca
children 7661cc464239
comparison
equal deleted inserted replaced
16511:aee02665e505 16512:abe7128ca473
25 import java.math.*; 25 import java.math.*;
26 26
27 import com.oracle.truffle.api.dsl.*; 27 import com.oracle.truffle.api.dsl.*;
28 import com.oracle.truffle.api.frame.*; 28 import com.oracle.truffle.api.frame.*;
29 import com.oracle.truffle.api.nodes.*; 29 import com.oracle.truffle.api.nodes.*;
30 import com.oracle.truffle.api.source.*;
30 import com.oracle.truffle.sl.runtime.*; 31 import com.oracle.truffle.sl.runtime.*;
31 32
32 /** 33 /**
33 * Base class for all SL nodes that produce a value and therefore benefit from type specialization. 34 * Base class for all SL nodes that produce a value and therefore benefit from type specialization.
34 * The annotation {@link TypeSystemReference} specifies the SL types. Specifying it here defines the 35 * The annotation {@link TypeSystemReference} specifies the SL types. Specifying it here defines the
35 * type system for all subclasses. 36 * type system for all subclasses.
36 */ 37 */
37 @TypeSystemReference(SLTypes.class) 38 @TypeSystemReference(SLTypes.class)
38 @NodeInfo(description = "The abstract base node for all expressions") 39 @NodeInfo(description = "The abstract base node for all expressions")
39 public abstract class SLExpressionNode extends SLStatementNode { 40 public abstract class SLExpressionNode extends SLStatementNode {
41
42 public SLExpressionNode(SourceSection src) {
43 super(src);
44 }
40 45
41 /** 46 /**
42 * The execute method when no specialization is possible. This is the most general case, 47 * The execute method when no specialization is possible. This is the most general case,
43 * therefore it must be provided by all subclasses. 48 * therefore it must be provided by all subclasses.
44 */ 49 */