summaryrefslogtreecommitdiff
path: root/src/vm/i386/cgenx86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/i386/cgenx86.cpp')
-rw-r--r--src/vm/i386/cgenx86.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/vm/i386/cgenx86.cpp b/src/vm/i386/cgenx86.cpp
index 14909b93e5..0a276c0ff9 100644
--- a/src/vm/i386/cgenx86.cpp
+++ b/src/vm/i386/cgenx86.cpp
@@ -1302,30 +1302,6 @@ extern "C" VOID STDCALL StubRareDisableTHROWWorker(Thread *pThread)
pThread->HandleThreadAbort();
}
-#ifndef FEATURE_PAL
-// Note that this logic is copied below, in PopSEHRecords
-__declspec(naked)
-VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
-{
- // No CONTRACT possible on naked functions
- STATIC_CONTRACT_NOTHROW;
- STATIC_CONTRACT_GC_NOTRIGGER;
-
- __asm{
- mov ecx, [esp+4] ;; ecx <- pTargetSP
- mov eax, fs:[0] ;; get current SEH record
- poploop:
- cmp eax, ecx
- jge done
- mov eax, [eax] ;; get next SEH record
- jmp poploop
- done:
- mov fs:[0], eax
- retn
- }
-}
-#endif // FEATURE_PAL
-
//////////////////////////////////////////////////////////////////////////////
//
// JITInterface