33 # include "entry_zero.hpp" 34 #endif 35 36 class CppInterpreterGenerator: public AbstractInterpreterGenerator { 37 protected: 38 // shared code sequences 39 // Converter for native abi result to tosca result 40 address generate_result_handler_for(BasicType type); 41 address generate_tosca_to_stack_converter(BasicType type); 42 address generate_stack_to_stack_converter(BasicType type); 43 address generate_stack_to_native_abi_converter(BasicType type); 44 45 void generate_all(); 46 47 public: 48 CppInterpreterGenerator(StubQueue* _code); 49 50 #ifdef TARGET_ARCH_x86 51 # include "cppInterpreterGenerator_x86.hpp" 52 #endif 53 #ifdef TARGET_ARCH_sparc 54 # include "cppInterpreterGenerator_sparc.hpp" 55 #endif 56 #ifdef TARGET_ARCH_zero 57 # include "cppInterpreterGenerator_zero.hpp" 58 #endif 59 #ifdef TARGET_ARCH_arm 60 # include "cppInterpreterGenerator_arm.hpp" 61 #endif 62 #ifdef TARGET_ARCH_ppc 63 # include "cppInterpreterGenerator_ppc.hpp" 64 #endif 65 66 }; 67 68 #endif // CC_INTERP 69 70 #endif // SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP | 33 # include "entry_zero.hpp" 34 #endif 35 36 class CppInterpreterGenerator: public AbstractInterpreterGenerator { 37 protected: 38 // shared code sequences 39 // Converter for native abi result to tosca result 40 address generate_result_handler_for(BasicType type); 41 address generate_tosca_to_stack_converter(BasicType type); 42 address generate_stack_to_stack_converter(BasicType type); 43 address generate_stack_to_native_abi_converter(BasicType type); 44 45 void generate_all(); 46 47 public: 48 CppInterpreterGenerator(StubQueue* _code); 49 50 #ifdef TARGET_ARCH_x86 51 # include "cppInterpreterGenerator_x86.hpp" 52 #endif 53 #ifdef TARGET_ARCH_aarch64 54 # include "cppInterpreterGenerator_aarch64.hpp" 55 #endif 56 #ifdef TARGET_ARCH_sparc 57 # include "cppInterpreterGenerator_sparc.hpp" 58 #endif 59 #ifdef TARGET_ARCH_zero 60 # include "cppInterpreterGenerator_zero.hpp" 61 #endif 62 #ifdef TARGET_ARCH_arm 63 # include "cppInterpreterGenerator_arm.hpp" 64 #endif 65 #ifdef TARGET_ARCH_ppc 66 # include "cppInterpreterGenerator_ppc.hpp" 67 #endif 68 69 }; 70 71 #endif // CC_INTERP 72 73 #endif // SHARE_VM_INTERPRETER_CPPINTERPRETERGENERATOR_HPP |