Mercurial > hg > truffle
diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/instrument/AdvancedInstrumentTest.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 | 28cbfacd0518 b1530a6cce8c |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/instrument/AdvancedInstrumentTest.java Tue May 12 16:06:00 2015 -0700 +++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/instrument/AdvancedInstrumentTest.java Tue May 12 17:29:49 2015 -0700 @@ -64,7 +64,7 @@ public AdvancedInstrumentRoot createInstrumentRoot(Probe p, Node n) { return null; } - }, "test AdvancedInstrument"); + }, null, "test AdvancedInstrument"); probe.attach(instrument); assertEquals(13, callTarget1.call()); @@ -77,7 +77,7 @@ public AdvancedInstrumentRoot createInstrumentRoot(Probe p, Node n) { return counter; } - }, "test AdvancedInstrument")); + }, null, "test AdvancedInstrument")); assertEquals(0, counter.getCount()); assertEquals(13, callTarget1.call());