9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 25 package org.graalvm.compiler.hotspot.meta; 26 27 import org.graalvm.compiler.debug.DebugHandlersFactory; 28 import org.graalvm.compiler.hotspot.GraalHotSpotVMConfig; 29 import org.graalvm.compiler.nodes.spi.LoweringProvider; 30 import org.graalvm.compiler.options.OptionValues; 31 32 /** 33 * HotSpot implementation of {@link LoweringProvider}. 34 */ 35 public interface HotSpotLoweringProvider extends LoweringProvider { 36 37 void initialize(OptionValues options, Iterable<DebugHandlersFactory> factories, HotSpotProviders providers, GraalHotSpotVMConfig config); 38 } | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 25 package org.graalvm.compiler.hotspot.meta; 26 27 import org.graalvm.compiler.debug.DebugHandlersFactory; 28 import org.graalvm.compiler.hotspot.GraalHotSpotVMConfig; 29 import org.graalvm.compiler.hotspot.replacements.ObjectCloneSnippets; 30 import org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets; 31 import org.graalvm.compiler.nodes.spi.LoweringProvider; 32 import org.graalvm.compiler.options.OptionValues; 33 34 /** 35 * HotSpot implementation of {@link LoweringProvider}. 36 */ 37 public interface HotSpotLoweringProvider extends LoweringProvider { 38 39 void initialize(OptionValues options, Iterable<DebugHandlersFactory> factories, HotSpotProviders providers, GraalHotSpotVMConfig config); 40 41 ObjectCloneSnippets.Templates getObjectCloneSnippets(); 42 43 ForeignCallSnippets.Templates getForeignCallSnippets(); 44 } |