Skip to content

Commit d3069ac

Browse files
committedOct 11, 2020
8254362: x86_32 builds fail after JDK-8253180
Reviewed-by: kvn
1 parent 25001c5 commit d3069ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/hotspot/cpu/x86/c2_safepointPollStubTable_x86.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#define __ masm.
3333
void C2SafepointPollStubTable::emit_stub_impl(MacroAssembler& masm, C2SafepointPollStub* entry) const {
34+
#ifdef _LP64
3435
assert(SharedRuntime::polling_page_return_handler_blob() != NULL,
3536
"polling page return stub not created yet");
3637
address stub = SharedRuntime::polling_page_return_handler_blob()->entry_point();
@@ -42,5 +43,8 @@ void C2SafepointPollStubTable::emit_stub_impl(MacroAssembler& masm, C2SafepointP
4243
__ lea(rscratch1, safepoint_pc);
4344
__ movptr(Address(r15_thread, JavaThread::saved_exception_pc_offset()), rscratch1);
4445
__ jump(callback_addr);
46+
#else
47+
ShouldNotReachHere();
48+
#endif
4549
}
4650
#undef __

0 commit comments

Comments
 (0)
Please sign in to comment.