Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
compiler failure
  • Loading branch information
kunalspathak committed Jun 30, 2022
commit 8ed74219085d1473f5a856b8546fded1b3db05f3
2 changes: 1 addition & 1 deletion src/coreclr/pal/inc/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -3466,7 +3466,7 @@ FORCEINLINE void PAL_ArmInterlockedOperationBarrier()
#endif
}

#if defined(HOST_ARM64)
#if defined(TARGET_ARM64)

#define Define_InterlockMethod(RETURN_TYPE, METHOD_DECL, METHOD_INVOC, INTRINSIC_NAME) \
__attribute__((target("lse"))) \
Expand Down
6 changes: 6 additions & 0 deletions src/coreclr/pal/src/init/pal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ extern "C" BOOL CRTInitStdStreams( void );

extern bool g_running_in_exe;

// #if defined(TARGET_ARM64)
// // Flag to check if atomics feature is available on
// // the machine
// bool g_arm64_atomics_present = false;
// #endif

Volatile<INT> init_count = 0;
Volatile<BOOL> shutdown_intent = 0;
Volatile<LONG> g_coreclrInitialized = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/utilcode/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#ifndef DACCESS_COMPILE
UINT32 g_nClrInstanceId = 0;

#if defined(TARGET_WINDOWS) && defined(TARGET_ARM64)
#if defined(TARGET_ARM64)
// Flag to check if atomics feature is available on
// the machine
bool g_arm64_atomics_present = false;
Expand Down