comparison 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
comparison
equal deleted inserted replaced
19012:f5b83e7b2b4c 19013:f7375de5eaa0
662 662
663 /** 663 /**
664 * Marks a method that it is considered as a boundary for Truffle partial evaluation. 664 * Marks a method that it is considered as a boundary for Truffle partial evaluation.
665 */ 665 */
666 @Retention(RetentionPolicy.RUNTIME) 666 @Retention(RetentionPolicy.RUNTIME)
667 @Target({ElementType.METHOD}) 667 @Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
668 public @interface TruffleBoundary { 668 public @interface TruffleBoundary {
669 } 669 }
670 670
671 /** 671 /**
672 * Marks classes as value types. Reference comparisons (==) between instances of those classes 672 * Marks classes as value types. Reference comparisons (==) between instances of those classes