1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2014, 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. |
200 GEN_VALUE(MAX_METHOD_CODE_SIZE, max_method_code_size); |
200 GEN_VALUE(MAX_METHOD_CODE_SIZE, max_method_code_size); |
201 #if defined(sparc) || defined(__sparc) |
201 #if defined(sparc) || defined(__sparc) |
202 GEN_VALUE(OFFSET_interpreter_frame_method, 2 * pointer_size); /* L2 in saved window */ |
202 GEN_VALUE(OFFSET_interpreter_frame_method, 2 * pointer_size); /* L2 in saved window */ |
203 GEN_VALUE(OFFSET_interpreter_frame_sender_sp, 13 * pointer_size); /* I5 in saved window */ |
203 GEN_VALUE(OFFSET_interpreter_frame_sender_sp, 13 * pointer_size); /* I5 in saved window */ |
204 // Fake value for consistency. It is not going to be used. |
204 // Fake value for consistency. It is not going to be used. |
205 GEN_VALUE(OFFSET_interpreter_frame_bcx_offset, 0xFFFF); |
205 GEN_VALUE(OFFSET_interpreter_frame_bcp_offset, 0xFFFF); |
206 #elif defined(i386) || defined(__i386) || defined(__amd64) |
206 #elif defined(i386) || defined(__i386) || defined(__amd64) |
207 GEN_VALUE(OFFSET_interpreter_frame_sender_sp, -1 * pointer_size); |
207 GEN_VALUE(OFFSET_interpreter_frame_sender_sp, -1 * pointer_size); |
208 GEN_VALUE(OFFSET_interpreter_frame_method, -3 * pointer_size); |
208 GEN_VALUE(OFFSET_interpreter_frame_method, -3 * pointer_size); |
209 GEN_VALUE(OFFSET_interpreter_frame_bcx_offset, -7 * pointer_size); |
209 GEN_VALUE(OFFSET_interpreter_frame_bcp_offset, -7 * pointer_size); |
210 #endif |
210 #endif |
211 |
211 |
212 GEN_OFFS(Klass, _name); |
212 GEN_OFFS(Klass, _name); |
213 GEN_OFFS(ConstantPool, _pool_holder); |
213 GEN_OFFS(ConstantPool, _pool_holder); |
214 printf("\n"); |
214 printf("\n"); |