Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/compiler/z/codegen/J9InstructionDelegate.hpp
6004 views
1
/*******************************************************************************
2
* Copyright (c) 2019, 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_Z_INSTRUCTIONDELEGATE_INCL
23
#define J9_Z_INSTRUCTIONDELEGATE_INCL
24
25
/*
26
* The following #define and typedef must appear before any #includes in this file
27
*/
28
#ifndef J9_INSTRUCTIONDELEGATE_CONNECTOR
29
#define J9_INSTRUCTIONDELEGATE_CONNECTOR
30
namespace J9 { namespace Z { class InstructionDelegate; } }
31
namespace J9 { typedef J9::Z::InstructionDelegate InstructionDelegateConnector; }
32
#else
33
#error J9::Z::InstructionDelegate expected to be a primary connector, but a J9 connector is already defined
34
#endif
35
36
#include "compiler/codegen/J9InstructionDelegate.hpp"
37
#include "infra/Annotations.hpp"
38
39
namespace J9
40
{
41
42
namespace Z
43
{
44
45
class OMR_EXTENSIBLE InstructionDelegate : public J9::InstructionDelegate
46
{
47
protected:
48
49
InstructionDelegate() {}
50
51
};
52
53
}
54
55
}
56
57
#endif
58
59