equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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. |
181 void get_cache_entry_pointer_at_bcp(Register cache, Register tmp, int bcp_offset, size_t index_size = sizeof(u2)); |
181 void get_cache_entry_pointer_at_bcp(Register cache, Register tmp, int bcp_offset, size_t index_size = sizeof(u2)); |
182 // Note: This one does not fetch the cache. The first argument is a temp which may be killed. |
182 // Note: This one does not fetch the cache. The first argument is a temp which may be killed. |
183 void get_cache_index_at_bcp(Register temp, Register index, int bcp_offset, size_t index_size = sizeof(u2)); |
183 void get_cache_index_at_bcp(Register temp, Register index, int bcp_offset, size_t index_size = sizeof(u2)); |
184 |
184 |
185 // load cpool->resolved_references(index); |
185 // load cpool->resolved_references(index); |
186 void load_resolved_reference_at_index(Register result, Register index); |
186 void load_resolved_reference_at_index(Register result, Register index, Register tmp); |
187 |
187 |
188 // load cpool->resolved_klass_at(index) |
188 // load cpool->resolved_klass_at(index) |
189 void load_resolved_klass_at_offset(Register Rcpool, Register Roffset, Register Rklass); |
189 void load_resolved_klass_at_offset(Register Rcpool, Register Roffset, Register Rklass); |
190 |
190 |
191 // common code |
191 // common code |