Path: blob/master/runtime/compiler/compile/Compilation.hpp
6000 views
/*******************************************************************************1* Copyright (c) 2000, 2020 IBM Corp. and others2*3* This program and the accompanying materials are made available under4* the terms of the Eclipse Public License 2.0 which accompanies this5* distribution and is available at https://www.eclipse.org/legal/epl-2.0/6* or the Apache License, Version 2.0 which accompanies this distribution and7* is available at https://www.apache.org/licenses/LICENSE-2.0.8*9* This Source Code may also be made available under the following10* Secondary Licenses when the conditions for such availability set11* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12* General Public License, version 2 with the GNU Classpath13* Exception [1] and GNU General Public License, version 2 with the14* OpenJDK Assembly Exception [2].15*16* [1] https://www.gnu.org/software/classpath/license.html17* [2] http://openjdk.java.net/legal/assembly-exception.html18*19* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20*******************************************************************************/2122#ifndef TR_COMPILATION_INCL23#define TR_COMPILATION_INCL2425#include "compile/J9Compilation.hpp"2627class TR_FrontEnd;28class TR_Memory;29class TR_OptimizationPlan;30class TR_ResolvedMethod;31namespace TR { class IlGenRequest; }32namespace TR { class Options; }33struct J9VMThread;3435namespace TR36{37class OMR_EXTENSIBLE Compilation : public J9::CompilationConnector38{39public:4041Compilation(42int32_t compThreadId,43J9VMThread *j9vmThread,44TR_FrontEnd *fe,45TR_ResolvedMethod *method,46TR::IlGenRequest &request,47TR::Options &options,48TR::Region &heapMemoryRegion,49TR_Memory *memory,50TR_OptimizationPlan *optimizationPlan,51TR_RelocationRuntime *reloRuntime,52TR::Environment *target = NULL) :53J9::CompilationConnector(54compThreadId,55j9vmThread,56fe,57method,58request,59options,60heapMemoryRegion,61memory,62optimizationPlan,63reloRuntime,64target)65{}6667~Compilation() {}68};69}7071#endif727374