--- a/src/hotspot/cpu/s390/frame_s390.inline.hpp Tue Oct 09 14:30:06 2018 +0200
+++ b/src/hotspot/cpu/s390/frame_s390.inline.hpp Tue Oct 09 15:06:27 2018 +0200
@@ -77,8 +77,13 @@
#endif
// template interpreter state
+inline frame::z_ijava_state* frame::ijava_state_unchecked() const {
+ z_ijava_state* state = (z_ijava_state*) ((uintptr_t)fp() - z_ijava_state_size);
+ return state;
+}
+
inline frame::z_ijava_state* frame::ijava_state() const {
- z_ijava_state* state = (z_ijava_state*) ((uintptr_t)fp() - z_ijava_state_size);
+ z_ijava_state* state = ijava_state_unchecked();
assert(state->magic == (intptr_t) frame::z_istate_magic_number,
"wrong z_ijava_state in interpreter frame (no magic found)");
return state;