equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2017, 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. |
54 #ifdef __ABI_HARD__ |
54 #ifdef __ABI_HARD__ |
55 void pass_double(); |
55 void pass_double(); |
56 #endif |
56 #endif |
57 public: |
57 public: |
58 // Creation |
58 // Creation |
59 SignatureHandlerGenerator(methodHandle method, CodeBuffer* buffer) : NativeSignatureIterator(method) { |
59 SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) { |
60 _masm = new MacroAssembler(buffer); |
60 _masm = new MacroAssembler(buffer); |
61 _abi_offset = 0; |
61 _abi_offset = 0; |
62 _ireg = is_static() ? 2 : 1; |
62 _ireg = is_static() ? 2 : 1; |
63 #ifdef __ABI_HARD__ |
63 #ifdef __ABI_HARD__ |
64 #ifdef AARCH64 |
64 #ifdef AARCH64 |