Path: blob/master/src/hotspot/cpu/zero/compiledIC_zero.cpp
40931 views
/*1* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#include "precompiled.hpp"25#include "code/codeCache.hpp"26#include "code/compiledIC.hpp"27#include "code/icBuffer.hpp"28#include "code/nmethod.hpp"29#include "code/vtableStubs.hpp"30#include "interpreter/interpreter.hpp"31#include "interpreter/linkResolver.hpp"32#include "memory/metadataFactory.hpp"33#include "memory/oopFactory.hpp"34#include "oops/method.hpp"35#include "oops/oop.inline.hpp"36#include "oops/symbol.hpp"37#include "runtime/icache.hpp"38#include "runtime/sharedRuntime.hpp"39#include "runtime/stubRoutines.hpp"40#include "utilities/events.hpp"414243// ----------------------------------------------------------------------------4445address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf, address mark) {46ShouldNotReachHere(); // Only needed for COMPILER2.47return NULL;48}4950int CompiledStaticCall::to_interp_stub_size() {51ShouldNotReachHere(); // Only needed for COMPILER2.52return 0;53}5455// Relocation entries for call stub, compiled java to interpreter.56int CompiledStaticCall::reloc_to_interp_stub() {57ShouldNotReachHere(); // Only needed for COMPILER2.58return 0;59}6061void CompiledDirectStaticCall::set_to_interpreted(const methodHandle& callee, address entry) {62ShouldNotReachHere(); // Only needed for COMPILER2.63}6465void CompiledDirectStaticCall::set_stub_to_clean(static_stub_Relocation* static_stub) {66ShouldNotReachHere(); // Only needed for COMPILER2.67}6869//-----------------------------------------------------------------------------70// Non-product mode code.71#ifndef PRODUCT7273void CompiledDirectStaticCall::verify() {74ShouldNotReachHere(); // Only needed for COMPILER2.75}7677#endif // !PRODUCT787980