equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
367 _to = to + (is_static() ? 2 : 1); |
367 _to = to + (is_static() ? 2 : 1); |
368 #endif // __ABI_HARD__ |
368 #endif // __ABI_HARD__ |
369 } |
369 } |
370 }; |
370 }; |
371 |
371 |
372 IRT_ENTRY(address, InterpreterRuntime::slow_signature_handler(JavaThread* thread, Method* method, intptr_t* from, intptr_t* to)) |
372 JRT_ENTRY(address, InterpreterRuntime::slow_signature_handler(JavaThread* thread, Method* method, intptr_t* from, intptr_t* to)) |
373 methodHandle m(thread, (Method*)method); |
373 methodHandle m(thread, (Method*)method); |
374 assert(m->is_native(), "sanity check"); |
374 assert(m->is_native(), "sanity check"); |
375 SlowSignatureHandler(m, (address)from, to).iterate(UCONST64(-1)); |
375 SlowSignatureHandler(m, (address)from, to).iterate(UCONST64(-1)); |
376 return Interpreter::result_handler(m->result_type()); |
376 return Interpreter::result_handler(m->result_type()); |
377 IRT_END |
377 JRT_END |