comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/call/SLCallNode.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 b16ec83edc73
children afd6fa5e8229
comparison
equal deleted inserted replaced
13861:28479abd1a69 13862:f9b934e1e172
77 /* 77 /*
78 * The function node evaluated to a non-function result. This is a type error in the SL 78 * The function node evaluated to a non-function result. This is a type error in the SL
79 * program. We report it with the same exception that Truffle DSL generated nodes use to 79 * program. We report it with the same exception that Truffle DSL generated nodes use to
80 * report type errors. 80 * report type errors.
81 */ 81 */
82 throw new UnsupportedSpecializationException(this, ex.getResult()); 82 throw new UnsupportedSpecializationException(this, new Node[]{functionNode}, ex.getResult());
83 } 83 }
84 } 84 }
85 } 85 }