From c2469455eab98fdcea71997d3cc5004a992fc88f Mon Sep 17 00:00:00 2001 From: Austin Wise Date: Fri, 6 Jan 2023 06:04:15 -0800 Subject: [PATCH] [NativeAOT] remove duplicate load of register (#80285) This appears to be a copy-paste of the line above. --- src/coreclr/nativeaot/Runtime/arm64/ExceptionHandling.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/coreclr/nativeaot/Runtime/arm64/ExceptionHandling.S b/src/coreclr/nativeaot/Runtime/arm64/ExceptionHandling.S index 918a4871741be..6fb47f101823f 100644 --- a/src/coreclr/nativeaot/Runtime/arm64/ExceptionHandling.S +++ b/src/coreclr/nativeaot/Runtime/arm64/ExceptionHandling.S @@ -480,8 +480,6 @@ ClearSuccess_Catch: ldr x1, [sp, rsp_CatchFunclet_offset_thread] - ldr x1, [sp, rsp_CatchFunclet_offset_thread] - // We must unhijack the thread at this point because the section of stack where the hijack is applied // may go dead. If it does, then the next time we try to unhijack the thread, it will corrupt the stack. INLINE_THREAD_UNHIJACK x1, x3, x12 // Thread in x1, trashes x3 and x12