Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/src/hotspot/cpu/s390/jvmciCodeInstaller_s390.cpp
40930 views
1
/*
2
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
3
* Copyright (c) 2016 SAP SE. All rights reserved.
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* This code is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License version 2 only, as
8
* published by the Free Software Foundation.
9
*
10
* This code is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
* version 2 for more details (a copy is included in the LICENSE file that
14
* accompanied this code).
15
*
16
* You should have received a copy of the GNU General Public License version
17
* 2 along with this work; if not, write to the Free Software Foundation,
18
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
*
20
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21
* or visit www.oracle.com if you need additional information or have any
22
* questions.
23
*
24
*/
25
26
// JVMCI (JEP 243):
27
// So far, the JVMCI is not supported/implemented on SAP platforms.
28
// This file just serves as a placeholder which may be filled with life
29
// should the JVMCI ever be implemented.
30
#if INCLUDE_JVMCI
31
32
#include "jvmci/jvmciCodeInstaller.hpp"
33
#include "jvmci/jvmciRuntime.hpp"
34
#include "jvmci/jvmciCompilerToVM.hpp"
35
#include "jvmci/jvmciJavaClasses.hpp"
36
#include "oops/oop.inline.hpp"
37
#include "runtime/handles.inline.hpp"
38
#include "runtime/sharedRuntime.hpp"
39
#include "vmreg_s390.inline.hpp"
40
41
jint CodeInstaller::pd_next_offset(NativeInstruction* inst, jint pc_offset, oop method) {
42
Unimplemented();
43
return 0;
44
}
45
46
void CodeInstaller::pd_patch_OopConstant(int pc_offset, Handle& constant) {
47
Unimplemented();
48
}
49
50
void CodeInstaller::pd_patch_MetaspaceConstant(int pc_offset, Handle& constant) {
51
Unimplemented();
52
}
53
54
void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset) {
55
Unimplemented();
56
}
57
58
void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset) {
59
Unimplemented();
60
}
61
62
void CodeInstaller::pd_relocate_CodeBlob(CodeBlob* cb, NativeInstruction* inst) {
63
Unimplemented();
64
}
65
66
void CodeInstaller::pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination) {
67
Unimplemented();
68
}
69
70
void CodeInstaller::pd_relocate_JavaMethod(oop hotspot_method, jint pc_offset) {
71
Unimplemented();
72
}
73
74
void CodeInstaller::pd_relocate_poll(address pc, jint mark) {
75
Unimplemented();
76
}
77
78
// Convert JVMCI register indices (as used in oop maps) to HotSpot registers.
79
VMReg CodeInstaller::get_hotspot_reg(jint jvmci_reg) {
80
return NULL;
81
}
82
83
bool CodeInstaller::is_general_purpose_reg(VMReg hotspotRegister) {
84
return false;
85
}
86
87
#endif // INLCUDE_JVMCI
88
89