Mercurial > hg > truffle
diff truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java @ 21986:67ea94a23074
Truffle/SL Debugging: fix two places where the QuitException wasn't being handled correctly.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Tue, 30 Jun 2015 17:29:17 +0200 |
parents | 9c8c0937da41 |
children | c07e64ecb528 |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java Fri Jun 26 16:25:41 2015 +0200 +++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/instrument/SLExpressionWrapperNode.java Tue Jun 30 17:29:17 2015 +0200 @@ -86,6 +86,8 @@ try { result = child.executeGeneric(vFrame); probeNode.returnValue(child, vFrame, result); + } catch (KillException e) { + throw (e); } catch (Exception e) { probeNode.returnExceptional(child, vFrame, e); throw (e);