8299476: PPC64 Zero build fails after JDK-8286302

Reviewed-by: mdoerr
This commit is contained in:
Aleksey Shipilev 2023-01-04 10:46:34 +00:00
parent b743519ba9
commit a17f505d73

View File

@ -483,8 +483,11 @@ FreezeBase::FreezeBase(JavaThread* thread, ContinuationWrapper& cont, intptr_t*
assert(_cont.chunk_invariant(), "");
assert(!Interpreter::contains(_cont.entryPC()), "");
static const int doYield_stub_frame_size = NOT_PPC64(frame::metadata_words)
PPC64_ONLY(frame::abi_reg_args_size >> LogBytesPerWord);
#if !defined(PPC64) || defined(ZERO)
static const int doYield_stub_frame_size = frame::metadata_words;
#else
static const int doYield_stub_frame_size = frame::abi_reg_args_size >> LogBytesPerWord;
#endif
assert(SharedRuntime::cont_doYield_stub()->frame_size() == doYield_stub_frame_size, "");
// properties of the continuation on the stack; all sizes are in words