Path: blob/master/src/hotspot/cpu/ppc/jvmciCodeInstaller_ppc.cpp
40930 views
/*1* Copyright (c) 2015, 2018, 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*/2223#include "jvmci/jvmciCodeInstaller.hpp"24#include "jvmci/jvmciRuntime.hpp"25#include "jvmci/jvmciCompilerToVM.hpp"26#include "jvmci/jvmciJavaClasses.hpp"27#include "oops/oop.inline.hpp"28#include "runtime/handles.inline.hpp"29#include "runtime/sharedRuntime.hpp"30#include "vmreg_ppc.inline.hpp"3132jint CodeInstaller::pd_next_offset(NativeInstruction* inst, jint pc_offset, Handle method, TRAPS) {33Unimplemented();34return 0;35}3637void CodeInstaller::pd_patch_OopConstant(int pc_offset, Handle constant, TRAPS) {38Unimplemented();39}4041void CodeInstaller::pd_patch_MetaspaceConstant(int pc_offset, Handle constant, TRAPS) {42Unimplemented();43}4445void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset, TRAPS) {46Unimplemented();47}4849void CodeInstaller::pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination, TRAPS) {50Unimplemented();51}5253void CodeInstaller::pd_relocate_JavaMethod(Handle hotspot_method, jint pc_offset, TRAPS) {54Unimplemented();55}5657void CodeInstaller::pd_relocate_poll(address pc, jint mark, TRAPS) {58Unimplemented();59}6061// convert JVMCI register indices (as used in oop maps) to HotSpot registers62VMReg CodeInstaller::get_hotspot_reg(jint jvmci_reg, TRAPS) {63return NULL;64}6566bool CodeInstaller::is_general_purpose_reg(VMReg hotspotRegister) {67return false;68}697071