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. |
189 _argcount = method->is_static() ? 2 : 1; |
189 _argcount = method->is_static() ? 2 : 1; |
190 } |
190 } |
191 }; |
191 }; |
192 |
192 |
193 |
193 |
194 IRT_ENTRY(address, InterpreterRuntime::slow_signature_handler( |
194 JRT_ENTRY(address, InterpreterRuntime::slow_signature_handler( |
195 JavaThread* thread, |
195 JavaThread* thread, |
196 Method* method, |
196 Method* method, |
197 intptr_t* from, |
197 intptr_t* from, |
198 intptr_t* to )) |
198 intptr_t* to )) |
199 methodHandle m(thread, method); |
199 methodHandle m(thread, method); |
202 // Warning: We use reg arg slot 00 temporarily to return the RegArgSignature |
202 // Warning: We use reg arg slot 00 temporarily to return the RegArgSignature |
203 // back to the code that pops the arguments into the CPU registers |
203 // back to the code that pops the arguments into the CPU registers |
204 SlowSignatureHandler(m, (address)from, m->is_static() ? to+2 : to+1, to).iterate((uint64_t)CONST64(-1)); |
204 SlowSignatureHandler(m, (address)from, m->is_static() ? to+2 : to+1, to).iterate((uint64_t)CONST64(-1)); |
205 // return result handler |
205 // return result handler |
206 return Interpreter::result_handler(m->result_type()); |
206 return Interpreter::result_handler(m->result_type()); |
207 IRT_END |
207 JRT_END |