Skip to content

Commit f9eb394

Browse files
committed
update assert
1 parent 2348e28 commit f9eb394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ void FreezeBase::adjust_interpreted_frame_unextended_sp(frame& f) {
133133

134134
inline void FreezeBase::prepare_freeze_interpreted_top_frame(frame& f) {
135135
// nothing to do
136-
DEBUG_ONLY( intptr_t* lspp = (intptr_t*) &(f.ijava_state()->top_frame_sp); )
137-
assert(*lspp == f.unextended_sp() - f.fp(), "should be " INTPTR_FORMAT " usp:" INTPTR_FORMAT " fp:" INTPTR_FORMAT " diff = %ld", *lspp, p2i(f.unextended_sp()), p2i(f.fp()), f.unextended_sp() - f.fp());
136+
DEBUG_ONLY( intptr_t* lspp = f.interpreter_frame_top_frame_sp();)
137+
assert(lspp == f.unextended_sp(), "should be top_frame_sp : " INTPTR_FORMAT " unextended_sp: " INTPTR_FORMAT, p2i(lspp), p2i(f.unextended_sp()));
138138
}
139139

140140
inline void FreezeBase::relativize_interpreted_frame_metadata(const frame& f, const frame& hf) {

0 commit comments

Comments
 (0)