< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/spi/Replacements.java
Print this page
*** 62,72 ****
*
* @param args arguments to the snippet if available, otherwise {@code null}
* @param trackNodeSourcePosition
* @return the snippet graph, if any, that is derived from {@code method}
*/
! StructuredGraph getSnippet(ResolvedJavaMethod method, Object[] args, boolean trackNodeSourcePosition, NodeSourcePosition replaceePosition);
/**
* Gets the snippet graph derived from a given method.
*
* @param recursiveEntry if the snippet contains a call to this method, it's considered as
--- 62,74 ----
*
* @param args arguments to the snippet if available, otherwise {@code null}
* @param trackNodeSourcePosition
* @return the snippet graph, if any, that is derived from {@code method}
*/
! default StructuredGraph getSnippet(ResolvedJavaMethod method, Object[] args, boolean trackNodeSourcePosition, NodeSourcePosition replaceePosition) {
! return getSnippet(method, null, args, trackNodeSourcePosition, replaceePosition);
! }
/**
* Gets the snippet graph derived from a given method.
*
* @param recursiveEntry if the snippet contains a call to this method, it's considered as
< prev index next >