From 9baa44aa334cf6f032e4abeae10dc1b960aaeb57 Mon Sep 17 00:00:00 2001 From: Steve MacLean Date: Fri, 17 Feb 2017 13:25:37 -0500 Subject: [ARM64/Unix] (#9500) * [Arm64/Unix] Update arm64 *.S files to match *.asm * [Arm64/Unix] Fix CONTEXTToNativeContext() * [Arm64/Unix] ThrowExceptionFromContextInternal * [Arm64/Unix] Preserve x8 argument register * [ARM64/Unix] Add CFI directives Add native unwind info * [Arm64/Unix] Fix RtlRestoreContext * [Arm64/Unix] Restore FP from CurrentContextPointers * [Arm64/Unix] fix pointer math * [Arm64/Unix] Fix CallDescrWorkerInternal personality * [Arm64/Unix] More Fp fixups * [Arm64/Unix] CallEHFunclet machine state Restore non-volatile machine state in CallEHFunclet * [Arm64/Unix] CallDescrWorkerInternal Use empty stack slot to save argument * [Arm64/Unix] RtlVirtualUnwind update pointers * [Arm64] LazyMachState fixes * [Arm64/Unix] disable USE_REDIRECT_FOR_GCSTRESS When FEATURE_PAL is enableds USE_REDIRECT_FOR_GCSTRESS is not supported * [Arm64] ClearRegDisplayArgumentAndScratchRegisters() * [Arm64] Remove unnecesary copy in TransitionFrame * [Arm64/Unix] Fix comment per review * [Arm64/Unix] move constants per review * [Arm64/Unix] Use ldp per review Also fix indentation * [Arm64/Unix] Fix indentation per review * [Arm64/Unix] Remove m_Unwound per review comments * [Arm64/Unix] Use PREPARE_EXTERNAL_VAR to access globals * [Arm64/Unix] Fix more whitespace per earlier review comments --- src/vm/exceptionhandling.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/vm/exceptionhandling.cpp') diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp index 05500d456a..20929bc315 100644 --- a/src/vm/exceptionhandling.cpp +++ b/src/vm/exceptionhandling.cpp @@ -448,14 +448,7 @@ void ExceptionTracker::UpdateNonvolatileRegisters(CONTEXT *pContextRecord, REGDI UPDATEREG(X26); UPDATEREG(X27); UPDATEREG(X28); - // Obtain value of Fp from CurrentContext instead of from CurrentContextPointers - // It should not matter. CurrentContextPointers does not have value of FP as this will - // require changes in MachState to also store pointer of FP which it does not do currently. - pContextRecord->Fp = pRegDisplay->pCurrentContext->Fp; - if (pAbortContext) - { - pAbortContext->Fp = pContextRecord->Fp; - } + UPDATEREG(Fp); #else PORTABILITY_ASSERT("ExceptionTracker::UpdateNonvolatileRegisters"); -- cgit v1.2.3