mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8160189: Fix for 8159335 breaks AArch64
Reviewed-by: kvn
This commit is contained in:
parent
109e24d96e
commit
dd9f85e74d
1 changed files with 2 additions and 2 deletions
|
@ -682,7 +682,7 @@ void TemplateInterpreterGenerator::generate_stack_overflow_check(void) {
|
|||
__ mov(r0, overhead_size);
|
||||
__ add(r0, r0, r3, Assembler::LSL, Interpreter::logStackElementSize); // 2 slots per parameter.
|
||||
|
||||
const Address stack_limit(rthread, Thread::stack_overflow_limit_offset());
|
||||
const Address stack_limit(rthread, JavaThread::stack_overflow_limit_offset());
|
||||
__ ldr(rscratch1, stack_limit);
|
||||
|
||||
#ifdef ASSERT
|
||||
|
@ -690,7 +690,7 @@ void TemplateInterpreterGenerator::generate_stack_overflow_check(void) {
|
|||
// Verify that thread stack limit is non-zero.
|
||||
__ cbnz(rscratch1, limit_okay);
|
||||
__ stop("stack overflow limit is zero");
|
||||
__ bind(stack_base_okay);
|
||||
__ bind(limit_okay);
|
||||
#endif
|
||||
|
||||
// Add stack limit to locals.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue