Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/src/hotspot/cpu/zero/compiledIC_zero.cpp
40931 views
1
/*
2
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*
23
*/
24
25
#include "precompiled.hpp"
26
#include "code/codeCache.hpp"
27
#include "code/compiledIC.hpp"
28
#include "code/icBuffer.hpp"
29
#include "code/nmethod.hpp"
30
#include "code/vtableStubs.hpp"
31
#include "interpreter/interpreter.hpp"
32
#include "interpreter/linkResolver.hpp"
33
#include "memory/metadataFactory.hpp"
34
#include "memory/oopFactory.hpp"
35
#include "oops/method.hpp"
36
#include "oops/oop.inline.hpp"
37
#include "oops/symbol.hpp"
38
#include "runtime/icache.hpp"
39
#include "runtime/sharedRuntime.hpp"
40
#include "runtime/stubRoutines.hpp"
41
#include "utilities/events.hpp"
42
43
44
// ----------------------------------------------------------------------------
45
46
address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf, address mark) {
47
ShouldNotReachHere(); // Only needed for COMPILER2.
48
return NULL;
49
}
50
51
int CompiledStaticCall::to_interp_stub_size() {
52
ShouldNotReachHere(); // Only needed for COMPILER2.
53
return 0;
54
}
55
56
// Relocation entries for call stub, compiled java to interpreter.
57
int CompiledStaticCall::reloc_to_interp_stub() {
58
ShouldNotReachHere(); // Only needed for COMPILER2.
59
return 0;
60
}
61
62
void CompiledDirectStaticCall::set_to_interpreted(const methodHandle& callee, address entry) {
63
ShouldNotReachHere(); // Only needed for COMPILER2.
64
}
65
66
void CompiledDirectStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) {
67
ShouldNotReachHere(); // Only needed for COMPILER2.
68
}
69
70
//-----------------------------------------------------------------------------
71
// Non-product mode code.
72
#ifndef PRODUCT
73
74
void CompiledDirectStaticCall::verify() {
75
ShouldNotReachHere(); // Only needed for COMPILER2.
76
}
77
78
#endif // !PRODUCT
79
80