changeset 58877 | aec7bf35d6f5 |
parent 58299 | 6df94ce3ab2f |
58876:1a8d65e71a66 | 58877:aec7bf35d6f5 |
---|---|
95 StructuredGraph.AllowAssumptions allowAssumptions, Cancellable cancellable, OptionValues options); |
95 StructuredGraph.AllowAssumptions allowAssumptions, Cancellable cancellable, OptionValues options); |
96 |
96 |
97 /** |
97 /** |
98 * Registers a plugin as a substitution. |
98 * Registers a plugin as a substitution. |
99 */ |
99 */ |
100 void registerMethodSubstitution(MethodSubstitutionPlugin plugin, ResolvedJavaMethod original, IntrinsicContext.CompilationContext context, OptionValues options); |
100 void registerMethodSubstitution(MethodSubstitutionPlugin plugin); |
101 |
|
102 /** |
|
103 * Marks a plugin as conditionally applied. In the contenxt of libgraal conditional plugins |
|
104 * can't be used in during graph encoding for snippets and method substitutions and this is used |
|
105 * to detect violations of this restriction. |
|
106 */ |
|
107 void registerConditionalPlugin(InvocationPlugin plugin); |
|
101 |
108 |
102 /** |
109 /** |
103 * Gets a graph that is a substitution for a given method. |
110 * Gets a graph that is a substitution for a given method. |
104 * |
111 * |
105 * @param invokeBci the call site BCI if this request is made for inlining a substitute |
112 * @param invokeBci the call site BCI if this request is made for inlining a substitute |