Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/compiler/compile/J9Method.hpp
6000 views
1
/*******************************************************************************
2
* Copyright (c) 2000, 2019 IBM Corp. and others
3
*
4
* This program and the accompanying materials are made available under
5
* the terms of the Eclipse Public License 2.0 which accompanies this
6
* distribution and is available at http://eclipse.org/legal/epl-2.0
7
* or the Apache License, Version 2.0 which accompanies this distribution
8
* and is available at https://www.apache.org/licenses/LICENSE-2.0.
9
*
10
* This Source Code may also be made available under the following Secondary
11
* Licenses when the conditions for such availability set forth in the
12
* Eclipse Public License, v. 2.0 are satisfied: GNU General Public License,
13
* version 2 with the GNU Classpath Exception [1] and GNU General Public
14
* License, version 2 with the OpenJDK Assembly Exception [2].
15
*
16
* [1] https://www.gnu.org/software/classpath/license.html
17
* [2] http://openjdk.java.net/legal/assembly-exception.html
18
*
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-exception
20
*******************************************************************************/
21
22
#ifndef J9_METHOD_INCL
23
#define J9_METHOD_INCL
24
25
/*
26
* The following #define and typedef must appear before any #includes in this file
27
*/
28
#ifndef J9_METHOD_CONNECTOR
29
#define J9_METHOD_CONNECTOR
30
namespace J9 { class Method; }
31
namespace J9 { typedef J9::Method MethodConnector; }
32
#endif
33
34
#include "compile/OMRMethod.hpp"
35
36
37
namespace J9
38
{
39
40
class Method : public OMR::MethodConnector
41
{
42
public:
43
44
Method(Type t = J9) :
45
OMR::MethodConnector(t) {}
46
47
};
48
49
}
50
51
#endif
52
53