Skip to content

Commit 634a8a9

Browse files
committed
assert
1 parent 3e73aab commit 634a8a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/s390/abstractInterpreter_s390.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ void AbstractInterpreter::layout_activation(Method* method,
148148
frame* interpreter_frame,
149149
bool is_top_frame,
150150
bool is_bottom_frame) {
151+
#ifdef ASSERT
152+
guarantee(!caller->is_native_frame(), "should not be here with a native caller");
153+
#endif // ASSERT
151154
// TOP_IJAVA_FRAME:
152155
//
153156
// 0 [TOP_IJAVA_FRAME_ABI] -+

0 commit comments

Comments
 (0)