changeset 19013:f7375de5eaa0

Truffle: allow @TruffleBoundary on constructors
author Andreas Woess <andreas.woess@jku.at>
date Thu, 29 Jan 2015 03:13:15 +0100
parents f5b83e7b2b4c
children 52be1821f533
files graal/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerDirectives.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 {
     }