1 /* |
1 /* |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016, 2017 SAP SE. 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 |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
113 void get_cache_and_index_and_bytecode_at_bcp(Register cache, Register cpe_offset, Register bytecode, |
113 void get_cache_and_index_and_bytecode_at_bcp(Register cache, Register cpe_offset, Register bytecode, |
114 int byte_no, int bcp_offset, size_t index_size = sizeof(u2)); |
114 int byte_no, int bcp_offset, size_t index_size = sizeof(u2)); |
115 void get_cache_entry_pointer_at_bcp(Register cache, Register tmp, int bcp_offset, size_t index_size = sizeof(u2)); |
115 void get_cache_entry_pointer_at_bcp(Register cache, Register tmp, int bcp_offset, size_t index_size = sizeof(u2)); |
116 void get_cache_index_at_bcp(Register index, int bcp_offset, size_t index_size = sizeof(u2)); |
116 void get_cache_index_at_bcp(Register index, int bcp_offset, size_t index_size = sizeof(u2)); |
117 void load_resolved_reference_at_index(Register result, Register index); |
117 void load_resolved_reference_at_index(Register result, Register index); |
|
118 // load cpool->resolved_klass_at(index) |
|
119 void load_resolved_klass_at_offset(Register cpool, Register offset, Register iklass); |
118 |
120 |
119 // Pop topmost element from stack. It just disappears. Useful if |
121 // Pop topmost element from stack. It just disappears. Useful if |
120 // consumed previously by access via stackTop(). |
122 // consumed previously by access via stackTop(). |
121 void popx(int len); |
123 void popx(int len); |
122 void pop_i() { popx(1); } |
124 void pop_i() { popx(1); } |