comparison graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/Specialization.java @ 9279:2a4b57f02fb4

Implemented basic support for assumptions for sourcecode generation.
author Christian Humer <christian.humer@gmail.com>
date Wed, 24 Apr 2013 17:44:15 +0200
parents d81ff782fa1a
children
comparison
equal deleted inserted replaced
9276:a9cfbe03d9c4 9279:2a4b57f02fb4
34 34
35 Class<? extends Throwable>[] rewriteOn() default {}; 35 Class<? extends Throwable>[] rewriteOn() default {};
36 36
37 String[] guards() default {}; 37 String[] guards() default {};
38 38
39 /**
40 * Defines the assumptions to check for this specialization. When the specialization method is
41 * invoked it is guaranteed that the assigned assumptions still hold. To declare assumptions use
42 * the {@link NodeAssumptions} annotation at class level.
43 */
44 String[] assumptions() default {};
45
39 } 46 }