1 /*
2 * Copyright (c) 2008, 2025, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
108 // accessors for the instance variables
109 // Note: not necessarily the real 'frame pointer' (see real_fp)
110 intptr_t* fp() const { return _fp; }
111
112 inline address* sender_pc_addr() const;
113
114 // expression stack tos if we are nested in a java call
115 intptr_t* interpreter_frame_last_sp() const;
116
117 template <typename RegisterMapT>
118 static void update_map_with_saved_link(RegisterMapT* map, intptr_t** link_addr);
119
120 // deoptimization support
121 void interpreter_frame_set_last_sp(intptr_t* sp);
122
123 // helper to update a map with callee-saved FP
124 static void update_map_with_saved_link(RegisterMap* map, intptr_t** link_addr);
125
126 static jint interpreter_frame_expression_stack_direction() { return -1; }
127
128 #endif // CPU_ARM_FRAME_ARM_HPP
|
1 /*
2 * Copyright (c) 2008, 2026, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
108 // accessors for the instance variables
109 // Note: not necessarily the real 'frame pointer' (see real_fp)
110 intptr_t* fp() const { return _fp; }
111
112 inline address* sender_pc_addr() const;
113
114 // expression stack tos if we are nested in a java call
115 intptr_t* interpreter_frame_last_sp() const;
116
117 template <typename RegisterMapT>
118 static void update_map_with_saved_link(RegisterMapT* map, intptr_t** link_addr);
119
120 // deoptimization support
121 void interpreter_frame_set_last_sp(intptr_t* sp);
122
123 // helper to update a map with callee-saved FP
124 static void update_map_with_saved_link(RegisterMap* map, intptr_t** link_addr);
125
126 static jint interpreter_frame_expression_stack_direction() { return -1; }
127
128 intptr_t* repair_sender_sp(intptr_t* sender_sp, intptr_t** saved_fp_addr) const;
129 static intptr_t* repair_sender_sp(nmethod* nm, intptr_t* sp, intptr_t** saved_fp_addr);
130 bool was_augmented_on_entry(int& real_size) const;
131
132 #endif // CPU_ARM_FRAME_ARM_HPP
|