src/hotspot/cpu/s390/interpreterRT_s390.cpp
changeset 54523 5df03f58d25b
parent 49480 d7df2dd501ce
child 54786 ebf733a324d4
equal deleted inserted replaced
54522:60bc754b9744 54523:5df03f58d25b
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
   149 
   149 
   150 // Implementation of SignatureHandlerLibrary
   150 // Implementation of SignatureHandlerLibrary
   151 
   151 
   152 void SignatureHandlerLibrary::pd_set_handler(address handler) {}
   152 void SignatureHandlerLibrary::pd_set_handler(address handler) {}
   153 
   153 
   154 IRT_ENTRY(address, InterpreterRuntime::get_signature(JavaThread* thread, Method* method))
   154 JRT_ENTRY(address, InterpreterRuntime::get_signature(JavaThread* thread, Method* method))
   155   methodHandle m(thread, method);
   155   methodHandle m(thread, method);
   156   assert(m->is_native(), "sanity check");
   156   assert(m->is_native(), "sanity check");
   157   Symbol *s = m->signature();
   157   Symbol *s = m->signature();
   158   return (address) s->base();
   158   return (address) s->base();
   159 IRT_END
   159 JRT_END
   160 
   160 
   161 IRT_ENTRY(address, InterpreterRuntime::get_result_handler(JavaThread* thread, Method* method))
   161 JRT_ENTRY(address, InterpreterRuntime::get_result_handler(JavaThread* thread, Method* method))
   162   methodHandle m(thread, method);
   162   methodHandle m(thread, method);
   163   assert(m->is_native(), "sanity check");
   163   assert(m->is_native(), "sanity check");
   164   return AbstractInterpreter::result_handler(m->result_type());
   164   return AbstractInterpreter::result_handler(m->result_type());
   165 IRT_END
   165 JRT_END