From 1f960bf27d121eb9633fbff039ca0da39dccda01 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Tue, 28 Feb 2017 00:00:42 +0900 Subject: [PATCH] Use WIN64EXCEPTIONS to declare EE_PERSONALITY_ROUTINE helpers (dotnet/coreclr#9821) Commit migrated from https://github.com/dotnet/coreclr/commit/446b2a2bb39b9a803f4df3bdfb2fef68acf1b1a6 --- src/coreclr/src/inc/jithelpers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/src/inc/jithelpers.h b/src/coreclr/src/inc/jithelpers.h index 001ff3d..15e6d2c 100644 --- a/src/coreclr/src/inc/jithelpers.h +++ b/src/coreclr/src/inc/jithelpers.h @@ -320,13 +320,13 @@ // We do not need this to be saved in ngen images on Mac64 since the exception dispatch // is not done via the OS and thus, there wont be any need to know this information // by anyone. -#if !defined(_TARGET_X86_) +#ifdef WIN64EXCEPTIONS JITHELPER(CORINFO_HELP_EE_PERSONALITY_ROUTINE, ProcessCLRException, CORINFO_HELP_SIG_UNDEF) JITHELPER(CORINFO_HELP_EE_PERSONALITY_ROUTINE_FILTER_FUNCLET, ProcessCLRException,CORINFO_HELP_SIG_UNDEF) -#else +#else // WIN64EXCEPTIONS JITHELPER(CORINFO_HELP_EE_PERSONALITY_ROUTINE, NULL, CORINFO_HELP_SIG_UNDEF) JITHELPER(CORINFO_HELP_EE_PERSONALITY_ROUTINE_FILTER_FUNCLET, NULL, CORINFO_HELP_SIG_UNDEF) -#endif +#endif // !WIN64EXCEPTIONS #ifdef _TARGET_X86_ JITHELPER(CORINFO_HELP_ASSIGN_REF_EAX, JIT_WriteBarrierEAX, CORINFO_HELP_SIG_NO_ALIGN_STUB) -- 2.7.4