Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLContinueNode.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 |
comparison
equal
deleted
inserted
replaced
16511:aee02665e505 | 16512:abe7128ca473 |
---|---|
22 */ | 22 */ |
23 package com.oracle.truffle.sl.nodes.controlflow; | 23 package com.oracle.truffle.sl.nodes.controlflow; |
24 | 24 |
25 import com.oracle.truffle.api.frame.*; | 25 import com.oracle.truffle.api.frame.*; |
26 import com.oracle.truffle.api.nodes.*; | 26 import com.oracle.truffle.api.nodes.*; |
27 import com.oracle.truffle.api.source.*; | |
27 import com.oracle.truffle.sl.nodes.*; | 28 import com.oracle.truffle.sl.nodes.*; |
28 | 29 |
29 /** | 30 /** |
30 * Implementation of the SL continue statement. We need to unwind an unknown number of interpreter | 31 * Implementation of the SL continue statement. We need to unwind an unknown number of interpreter |
31 * frames that are between this {@link SLContinueNode} and the {@link SLWhileNode} of the loop we | 32 * frames that are between this {@link SLContinueNode} and the {@link SLWhileNode} of the loop we |
33 * by the {@link SLWhileNode#executeVoid loop node}. | 34 * by the {@link SLWhileNode#executeVoid loop node}. |
34 */ | 35 */ |
35 @NodeInfo(shortName = "continue", description = "The node implementing a continue statement") | 36 @NodeInfo(shortName = "continue", description = "The node implementing a continue statement") |
36 public final class SLContinueNode extends SLStatementNode { | 37 public final class SLContinueNode extends SLStatementNode { |
37 | 38 |
39 public SLContinueNode(SourceSection src) { | |
40 super(src); | |
41 } | |
42 | |
38 @Override | 43 @Override |
39 public void executeVoid(VirtualFrame frame) { | 44 public void executeVoid(VirtualFrame frame) { |
40 throw SLContinueException.SINGLETON; | 45 throw SLContinueException.SINGLETON; |
41 } | 46 } |
42 } | 47 } |