diff --git a/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp b/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp index afbd30adbec..89692c4f694 100644 --- a/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp @@ -4752,7 +4752,7 @@ class StubGenerator: public StubCodeGenerator { __ enter(); - Label RET_TRUE, RET_TRUE_NO_POP, RET_FALSE, ALIGNED, LOOP16, CHECK_16, DONE, + Label RET_TRUE, RET_TRUE_NO_POP, RET_FALSE, ALIGNED, LOOP16, CHECK_16, LARGE_LOOP, POST_LOOP16, LEN_OVER_15, LEN_OVER_8, POST_LOOP16_LOAD_TAIL; __ cmp(len, (u1)15); @@ -4894,10 +4894,6 @@ class StubGenerator: public StubCodeGenerator { __ mov(result, 1); __ ret(lr); - __ bind(DONE); - __ pop(spilled_regs, sp); - __ leave(); - __ ret(lr); return entry; }