equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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. |
145 _from = from; |
145 _from = from; |
146 _to = to + (is_static() ? 2 : 1); |
146 _to = to + (is_static() ? 2 : 1); |
147 } |
147 } |
148 }; |
148 }; |
149 |
149 |
150 IRT_ENTRY(address, InterpreterRuntime::slow_signature_handler(JavaThread* thread, Method* method, intptr_t* from, intptr_t* to)) |
150 JRT_ENTRY(address, InterpreterRuntime::slow_signature_handler(JavaThread* thread, Method* method, intptr_t* from, intptr_t* to)) |
151 methodHandle m(thread, (Method*)method); |
151 methodHandle m(thread, (Method*)method); |
152 assert(m->is_native(), "sanity check"); |
152 assert(m->is_native(), "sanity check"); |
153 // handle arguments |
153 // handle arguments |
154 SlowSignatureHandler(m, (address)from, to + 1).iterate((uint64_t)CONST64(-1)); |
154 SlowSignatureHandler(m, (address)from, to + 1).iterate((uint64_t)CONST64(-1)); |
155 // return result handler |
155 // return result handler |
156 return Interpreter::result_handler(m->result_type()); |
156 return Interpreter::result_handler(m->result_type()); |
157 IRT_END |
157 JRT_END |