We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e166a commit 3e73aabCopy full SHA for 3e73aab
src/hotspot/cpu/s390/frame_s390.inline.hpp
@@ -323,11 +323,11 @@ inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
323
}
324
325
inline oop frame::saved_oop_result(RegisterMap* map) const {
326
- return *((oop*) map->location(Z_R2->as_VMReg(), nullptr)); // R2 is return register.
+ return *((oop*) map->location(Z_R2->as_VMReg(), sp())); // R2 is return register.
327
328
329
inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
330
- *((oop*) map->location(Z_R2->as_VMReg(), nullptr)) = obj; // R2 is return register.
+ *((oop*) map->location(Z_R2->as_VMReg(), sp())) = obj; // R2 is return register.
331
332
333
inline intptr_t* frame::real_fp() const {
0 commit comments