Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java @ 13862:f9b934e1e172
SL: Make SL use the new UnsupportedSpecializationException#getSuppliedNodes() for error messages; Disabled dumping by default to IGV.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 03 Feb 2014 21:01:11 +0100 |
parents | 64c77f0577bb |
children | afd6fa5e8229 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java Mon Feb 03 20:59:57 2014 +0100 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLIfNode.java Mon Feb 03 21:01:11 2014 +0100 @@ -92,7 +92,7 @@ * program. We report it with the same exception that Truffle DSL generated nodes use to * report type errors. */ - throw new UnsupportedSpecializationException(this, ex.getResult()); + throw new UnsupportedSpecializationException(this, new Node[]{conditionNode}, ex.getResult()); } } }