Skip to content

Commit 3e73aab

Browse files
committed
frame_s390.inline changes
1 parent 48e166a commit 3e73aab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/s390/frame_s390.inline.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,11 @@ inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
323323
}
324324

325325
inline oop frame::saved_oop_result(RegisterMap* map) const {
326-
return *((oop*) map->location(Z_R2->as_VMReg(), nullptr)); // R2 is return register.
326+
return *((oop*) map->location(Z_R2->as_VMReg(), sp())); // R2 is return register.
327327
}
328328

329329
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.
330+
*((oop*) map->location(Z_R2->as_VMReg(), sp())) = obj; // R2 is return register.
331331
}
332332

333333
inline intptr_t* frame::real_fp() const {

0 commit comments

Comments
 (0)