Skip to content

Commit 37d3bbd

Browse files
committed
8295469: S390X: Optimized builds are broken
Backport-of: 7b2e83b3955c034208325ea5477afd3c5e1da41a
1 parent a2b2a22 commit 37d3bbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hotspot/cpu/s390/assembler_s390.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Assembler::branch_condition Assembler::inverse_float_condition(Assembler::branch
139139
return inverse_cc;
140140
}
141141

142-
#ifdef ASSERT
142+
#ifndef PRODUCT
143143
void Assembler::print_dbg_msg(outputStream* out, unsigned long inst, const char* msg, int ilen) {
144144
out->flush();
145145
switch (ilen) {

src/hotspot/cpu/s390/interp_masm_s390.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class InterpreterMacroAssembler: public MacroAssembler {
164164

165165
// Accessors to the template interpreter state.
166166

167-
void asm_assert_ijava_state_magic(Register tmp) PRODUCT_RETURN;
167+
void asm_assert_ijava_state_magic(Register tmp) NOT_DEBUG_RETURN;
168168

169169
void save_bcp();
170170

0 commit comments

Comments
 (0)