Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLWhileNode.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 |
comparison
equal
deleted
inserted
replaced
13861:28479abd1a69 | 13862:f9b934e1e172 |
---|---|
105 /* | 105 /* |
106 * The condition evaluated to a non-boolean result. This is a type error in the SL | 106 * The condition evaluated to a non-boolean result. This is a type error in the SL |
107 * program. We report it with the same exception that Truffle DSL generated nodes use to | 107 * program. We report it with the same exception that Truffle DSL generated nodes use to |
108 * report type errors. | 108 * report type errors. |
109 */ | 109 */ |
110 throw new UnsupportedSpecializationException(this, ex.getResult()); | 110 throw new UnsupportedSpecializationException(this, new Node[]{conditionNode}, ex.getResult()); |
111 } | 111 } |
112 } | 112 } |
113 } | 113 } |