< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.sparc/src/org/graalvm/compiler/hotspot/sparc/SPARCHotSpotBackendFactory.java

Print this page
rev 56282 : [mq]: graal

*** 1,7 **** /* ! * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 103,126 **** HotSpotGCProvider gc = createGCProvider(config); Providers p = new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, null, stampProvider, gc); HotSpotSnippetReflectionProvider snippetReflection = createSnippetReflection(runtime, constantReflection, wordTypes); BytecodeProvider bytecodeProvider = createBytecodeProvider(metaAccess, snippetReflection); HotSpotReplacementsImpl replacements = createReplacements(target, p, snippetReflection, bytecodeProvider); ! Plugins plugins = createGraphBuilderPlugins(compilerConfiguration, config, metaAccess, constantReflection, foreignCalls, snippetReflection, replacements, wordTypes, runtime.getOptions()); replacements.setGraphBuilderPlugins(plugins); HotSpotSuitesProvider suites = createSuites(config, runtime, compilerConfiguration, plugins, replacements); HotSpotProviders providers = new HotSpotProviders(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, suites, registers, snippetReflection, wordTypes, plugins, gc); replacements.setProviders(providers); return createBackend(config, runtime, providers); } ! protected Plugins createGraphBuilderPlugins(CompilerConfiguration compilerConfiguration, GraalHotSpotVMConfig config, HotSpotMetaAccessProvider metaAccess, ! HotSpotConstantReflectionProvider constantReflection, HotSpotForeignCallsProvider foreignCalls, ! HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements, HotSpotWordTypes wordTypes, OptionValues options) { ! Plugins plugins = HotSpotGraphBuilderPlugins.create(compilerConfiguration, config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, replacements, options); SPARCGraphBuilderPlugins.register(plugins, replacements.getDefaultReplacementBytecodeProvider(), false); return plugins; } /** --- 103,144 ---- HotSpotGCProvider gc = createGCProvider(config); Providers p = new Providers(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, null, stampProvider, gc); HotSpotSnippetReflectionProvider snippetReflection = createSnippetReflection(runtime, constantReflection, wordTypes); BytecodeProvider bytecodeProvider = createBytecodeProvider(metaAccess, snippetReflection); HotSpotReplacementsImpl replacements = createReplacements(target, p, snippetReflection, bytecodeProvider); ! Plugins plugins = createGraphBuilderPlugins(runtime, compilerConfiguration, config, metaAccess, constantReflection, foreignCalls, snippetReflection, replacements, wordTypes, ! runtime.getOptions()); replacements.setGraphBuilderPlugins(plugins); HotSpotSuitesProvider suites = createSuites(config, runtime, compilerConfiguration, plugins, replacements); HotSpotProviders providers = new HotSpotProviders(metaAccess, codeCache, constantReflection, constantFieldProvider, foreignCalls, lowerer, replacements, suites, registers, snippetReflection, wordTypes, plugins, gc); replacements.setProviders(providers); return createBackend(config, runtime, providers); } ! protected Plugins createGraphBuilderPlugins(HotSpotGraalRuntimeProvider graalRuntime, ! CompilerConfiguration compilerConfiguration, ! GraalHotSpotVMConfig config, ! HotSpotMetaAccessProvider metaAccess, ! HotSpotConstantReflectionProvider constantReflection, ! HotSpotForeignCallsProvider foreignCalls, ! HotSpotSnippetReflectionProvider snippetReflection, ! HotSpotReplacementsImpl replacements, ! HotSpotWordTypes wordTypes, ! OptionValues options) { ! Plugins plugins = HotSpotGraphBuilderPlugins.create( ! graalRuntime, ! compilerConfiguration, ! config, ! wordTypes, ! metaAccess, ! constantReflection, ! snippetReflection, ! foreignCalls, ! replacements, ! options); SPARCGraphBuilderPlugins.register(plugins, replacements.getDefaultReplacementBytecodeProvider(), false); return plugins; } /**
< prev index next >