src/hotspot/cpu/zero/interpreterRT_zero.cpp
changeset 54523 5df03f58d25b
parent 49449 ef5d5d343e2a
child 54786 ebf733a324d4
equal deleted inserted replaced
54522:60bc754b9744 54523:5df03f58d25b
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2007, 2008, 2010 Red Hat, Inc.
     3  * Copyright 2007, 2008, 2010 Red Hat, Inc.
     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
   139                  argument_types());
   139                  argument_types());
   140 
   140 
   141   assert(status == FFI_OK, "should be");
   141   assert(status == FFI_OK, "should be");
   142 }
   142 }
   143 
   143 
   144 IRT_ENTRY(address,
   144 JRT_ENTRY(address,
   145           InterpreterRuntime::slow_signature_handler(JavaThread* thread,
   145           InterpreterRuntime::slow_signature_handler(JavaThread* thread,
   146                                                      Method*     method,
   146                                                      Method*     method,
   147                                                      intptr_t*   unused1,
   147                                                      intptr_t*   unused1,
   148                                                      intptr_t*   unused2))
   148                                                      intptr_t*   unused2))
   149   ZeroStack *stack = thread->zero_stack();
   149   ZeroStack *stack = thread->zero_stack();
   160 
   160 
   161   SignatureHandler *handler = sshg.handler();
   161   SignatureHandler *handler = sshg.handler();
   162   handler->finalize();
   162   handler->finalize();
   163 
   163 
   164   return (address) handler;
   164   return (address) handler;
   165 IRT_END
   165 JRT_END
   166 
   166 
   167 void SignatureHandlerLibrary::pd_set_handler(address handlerAddr) {
   167 void SignatureHandlerLibrary::pd_set_handler(address handlerAddr) {
   168   InterpreterRuntime::SignatureHandler *handler =
   168   InterpreterRuntime::SignatureHandler *handler =
   169     InterpreterRuntime::SignatureHandler::from_handlerAddr(handlerAddr);
   169     InterpreterRuntime::SignatureHandler::from_handlerAddr(handlerAddr);
   170 
   170