--- old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.api.replacements/src/org/graalvm/compiler/api/replacements/Snippet.java 2017-11-03 23:55:39.340444172 -0700 +++ new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.api.replacements/src/org/graalvm/compiler/api/replacements/Snippet.java 2017-11-03 23:55:38.812420543 -0700 @@ -36,6 +36,13 @@ public @interface Snippet { /** + * A partial intrinsic exits by (effectively) calling the intrinsified method. Normally, this + * call must use exactly the same arguments as the call that is being intrinsified. For well + * known snippets that are used after frame state assignment, we want to relax this restriction. + */ + boolean allowPartialIntrinsicArgumentMismatch() default false; + + /** * Denotes a snippet parameter representing 0 or more arguments that will be bound during * snippet template instantiation. During snippet template creation, its value must be an array * whose length specifies the number of arguments (the contents of the array are ignored) bound