Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java @ 19013:f7375de5eaa0
Truffle: allow @TruffleBoundary on constructors
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 29 Jan 2015 03:13:15 +0100 |
parents | 48dd71b3dc03 |
children | c386ace07981 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java Thu Jan 29 03:11:53 2015 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java Thu Jan 29 03:13:15 2015 +0100 @@ -664,7 +664,7 @@ * Marks a method that it is considered as a boundary for Truffle partial evaluation. */ @Retention(RetentionPolicy.RUNTIME) - @Target({ElementType.METHOD}) + @Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) public @interface TruffleBoundary { }