comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/AdvancedInstrumentRootFactory.java @ 21356:e34bc00733d1

Truffle/Instrumentation: an Advanced Instrument can now be created that requires the evaluation result be of a specified type, reporting a failure if not
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 12 May 2015 17:29:49 -0700
parents 442b57a7f208
children b4aca5ec3f10
comparison
equal deleted inserted replaced
21355:442b57a7f208 21356:e34bc00733d1
27 import com.oracle.truffle.api.nodes.*; 27 import com.oracle.truffle.api.nodes.*;
28 28
29 /** 29 /**
30 * Creator of {@linkplain AdvancedInstrumentRoot AST fragments} suitable for efficient execution, 30 * Creator of {@linkplain AdvancedInstrumentRoot AST fragments} suitable for efficient execution,
31 * subject to full Truffle optimization, by an 31 * subject to full Truffle optimization, by an
32 * {@linkplain Instrument#create(AdvancedInstrumentResultListener, AdvancedInstrumentRootFactory, String) 32 * {@linkplain Instrument#create(AdvancedInstrumentResultListener, AdvancedInstrumentRootFactory, Class, String)
33 * Advanced Instrument}. 33 * Advanced Instrument}.
34 * 34 *
35 * @see Instrument 35 * @see Instrument
36 * @see AdvancedInstrumentRoot 36 * @see AdvancedInstrumentRoot
37 */ 37 */