Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
32285 views
/*1* Copyright (c) 1997, 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*22*/2324#ifndef SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP25#define SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP2627// This file contains the platform-independent parts28// of the template interpreter generator.2930#ifdef CC_INTERP31#ifdef TARGET_ARCH_zero32# include "entry_zero.hpp"33#endif3435class CppInterpreterGenerator: public AbstractInterpreterGenerator {36protected:37// shared code sequences38// Converter for native abi result to tosca result39address generate_result_handler_for(BasicType type);40address generate_tosca_to_stack_converter(BasicType type);41address generate_stack_to_stack_converter(BasicType type);42address generate_stack_to_native_abi_converter(BasicType type);4344void generate_all();4546public:47CppInterpreterGenerator(StubQueue* _code);4849#ifdef TARGET_ARCH_x8650# include "cppInterpreterGenerator_x86.hpp"51#endif52#ifdef TARGET_ARCH_aarch3253# include "cppInterpreterGenerator_aarch32.hpp"54#endif55#ifdef TARGET_ARCH_aarch6456# include "cppInterpreterGenerator_aarch64.hpp"57#endif58#ifdef TARGET_ARCH_sparc59# include "cppInterpreterGenerator_sparc.hpp"60#endif61#ifdef TARGET_ARCH_zero62# include "cppInterpreterGenerator_zero.hpp"63#endif64#ifdef TARGET_ARCH_arm65# include "cppInterpreterGenerator_arm.hpp"66#endif67#ifdef TARGET_ARCH_ppc68# include "cppInterpreterGenerator_ppc.hpp"69#endif7071};7273#endif // CC_INTERP7475#endif // SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP767778