Skip to content

Commit 9741bdf

Browse files
committed
[MERGE #6359 @pleath] Fixing ARM64 build issue
Merge pull request #6359 from pleath:arm64build
2 parents cd96553 + 048418e commit 9741bdf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/Runtime/Base/ThreadContextInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ ThreadContextInfo::SetValidCallTargetInternal(
493493
#endif
494494
)
495495
{
496-
_guard_check_icall((uintptr_t)callTargetAddress);
496+
_GUARD_CHECK_ICALL((uintptr_t)callTargetAddress);
497497
}
498498

499499
if (PHASE_TRACE1(Js::CFGPhase))

lib/Runtime/Base/ThreadContextInfo.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,6 @@ uintptr_t ShiftAddr(const ThreadContextInfo*const context, T* address)
174174

175175
uintptr_t ShiftAddr(const ThreadContextInfo*const context, uintptr_t address);
176176

177+
#ifndef _GUARD_CHECK_ICALL
178+
#define _GUARD_CHECK_ICALL _guard_check_icall
179+
#endif

0 commit comments

Comments
 (0)