Răsfoiți Sursa

[MERGE #6359 @pleath] Fixing ARM64 build issue

Merge pull request #6359 from pleath:arm64build
Paul Leathers 6 ani în urmă
părinte
comite
9741bdff2b

+ 1 - 1
lib/Runtime/Base/ThreadContextInfo.cpp

@@ -493,7 +493,7 @@ ThreadContextInfo::SetValidCallTargetInternal(
 #endif
             )
         {
-            _guard_check_icall((uintptr_t)callTargetAddress);
+            _GUARD_CHECK_ICALL((uintptr_t)callTargetAddress);
         }
 
         if (PHASE_TRACE1(Js::CFGPhase))

+ 3 - 0
lib/Runtime/Base/ThreadContextInfo.h

@@ -174,3 +174,6 @@ uintptr_t ShiftAddr(const ThreadContextInfo*const context, T* address)
 
 uintptr_t ShiftAddr(const ThreadContextInfo*const context, uintptr_t address);
 
+#ifndef _GUARD_CHECK_ICALL
+#define _GUARD_CHECK_ICALL _guard_check_icall
+#endif