equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 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. |
76 void gen_subtype_check(Register sub_klass, Register super_klass, |
76 void gen_subtype_check(Register sub_klass, Register super_klass, |
77 Register tmp1, Register tmp2, Register tmp3, Label &ok_is_subtype); |
77 Register tmp1, Register tmp2, Register tmp3, Label &ok_is_subtype); |
78 |
78 |
79 // Load object from cpool->resolved_references(index). |
79 // Load object from cpool->resolved_references(index). |
80 void load_resolved_reference_at_index(Register result, Register index, Label *is_null = NULL); |
80 void load_resolved_reference_at_index(Register result, Register index, Label *is_null = NULL); |
|
81 |
|
82 // load cpool->resolved_klass_at(index) |
|
83 void load_resolved_klass_at_offset(Register Rcpool, Register Roffset, Register Rklass); |
81 |
84 |
82 void load_receiver(Register Rparam_count, Register Rrecv_dst); |
85 void load_receiver(Register Rparam_count, Register Rrecv_dst); |
83 |
86 |
84 // helpers for expression stack |
87 // helpers for expression stack |
85 void pop_i( Register r = R17_tos); |
88 void pop_i( Register r = R17_tos); |