equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2014, Red Hat Inc. All rights reserved. |
3 * Copyright (c) 2014, Red Hat Inc. All rights reserved. |
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 |
45 void pass_double(); |
45 void pass_double(); |
46 void pass_object(); |
46 void pass_object(); |
47 |
47 |
48 public: |
48 public: |
49 // Creation |
49 // Creation |
50 SignatureHandlerGenerator(methodHandle method, CodeBuffer* buffer) : NativeSignatureIterator(method) { |
50 SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : NativeSignatureIterator(method) { |
51 _masm = new MacroAssembler(buffer); |
51 _masm = new MacroAssembler(buffer); |
52 _num_int_args = (method->is_static() ? 1 : 0); |
52 _num_int_args = (method->is_static() ? 1 : 0); |
53 _num_fp_args = 0; |
53 _num_fp_args = 0; |
54 _stack_offset = 0; |
54 _stack_offset = 0; |
55 } |
55 } |