Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLExpressionNode.java @ 14906:f3a5036cc13c
javadoc fixes
javadoc has become stricter in jdk8
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 31 Mar 2014 20:51:09 +0200 |
parents | ff3136ecb5a7 |
children | 111bf82514ca |
comparison
equal
deleted
inserted
replaced
14905:b7afc71535d3 | 14906:f3a5036cc13c |
---|---|
29 import com.oracle.truffle.api.nodes.*; | 29 import com.oracle.truffle.api.nodes.*; |
30 import com.oracle.truffle.sl.runtime.*; | 30 import com.oracle.truffle.sl.runtime.*; |
31 | 31 |
32 /** | 32 /** |
33 * Base class for all SL nodes that produce a value and therefore benefit from type specialization. | 33 * 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 | 34 * The annotation {@link TypeSystemReference} specifies the SL types. Specifying it here defines the |
35 * defines the type system for all subclasses. | 35 * type system for all subclasses. |
36 */ | 36 */ |
37 @TypeSystemReference(SLTypes.class) | 37 @TypeSystemReference(SLTypes.class) |
38 public abstract class SLExpressionNode extends SLStatementNode { | 38 public abstract class SLExpressionNode extends SLStatementNode { |
39 | 39 |
40 /** | 40 /** |
42 * therefore it must be provided by all subclasses. | 42 * therefore it must be provided by all subclasses. |
43 */ | 43 */ |
44 public abstract Object executeGeneric(VirtualFrame frame); | 44 public abstract Object executeGeneric(VirtualFrame frame); |
45 | 45 |
46 /** | 46 /** |
47 * When we use an expression at places where a {@SLStatmentNode statement} is | 47 * When we use an expression at places where a {@link SLStatementNode statement} is already |
48 * already sufficient, the return value is just discarded. | 48 * sufficient, the return value is just discarded. |
49 */ | 49 */ |
50 @Override | 50 @Override |
51 public void executeVoid(VirtualFrame frame) { | 51 public void executeVoid(VirtualFrame frame) { |
52 executeGeneric(frame); | 52 executeGeneric(frame); |
53 } | 53 } |