Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/ppc/vm/jniFastGetField_ppc.cpp
32285 views
/*1* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.2* Copyright 2012, 2013 SAP AG. 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 it6* under the terms of the GNU General Public License version 2 only, as7* published by the Free Software Foundation.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 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 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*23*/2425#include "precompiled.hpp"26#include "assembler_ppc.inline.hpp"27#include "memory/resourceArea.hpp"28#include "prims/jniFastGetField.hpp"29#include "prims/jvm_misc.hpp"30#include "runtime/safepoint.hpp"313233address JNI_FastGetField::generate_fast_get_int_field0(BasicType type) {34// We don't have fast jni accessors.35return (address) -1;36}3738address JNI_FastGetField::generate_fast_get_boolean_field() {39return generate_fast_get_int_field0(T_BOOLEAN);40}4142address JNI_FastGetField::generate_fast_get_byte_field() {43return generate_fast_get_int_field0(T_BYTE);44}4546address JNI_FastGetField::generate_fast_get_char_field() {47return generate_fast_get_int_field0(T_CHAR);48}4950address JNI_FastGetField::generate_fast_get_short_field() {51return generate_fast_get_int_field0(T_SHORT);52}5354address JNI_FastGetField::generate_fast_get_int_field() {55return generate_fast_get_int_field0(T_INT);56}5758address JNI_FastGetField::generate_fast_get_long_field() {59// We don't have fast jni accessors.60return (address) -1;61}6263address JNI_FastGetField::generate_fast_get_float_field0(BasicType type) {64// We don't have fast jni accessors.65return (address) -1;66}6768address JNI_FastGetField::generate_fast_get_float_field() {69return generate_fast_get_float_field0(T_FLOAT);70}7172address JNI_FastGetField::generate_fast_get_double_field() {73return generate_fast_get_float_field0(T_DOUBLE);74}757677