Skip to content

Commit

Permalink
Delete odd definition of VolatileLoad/Store (dotnet#100660)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Apr 5, 2024
1 parent 7def0b7 commit f91b911
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/coreclr/nativeaot/Runtime/stressLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
#include "threadstore.h"
#include "threadstore.inl"
#include "thread.inl"

template<typename T> inline T VolatileLoad(T const * pt) { return *(T volatile const *)pt; }
template<typename T> inline void VolatileStore(T* pt, T val) { *(T volatile *)pt = val; }
#include "volatile.h"

#ifdef STRESS_LOG

Expand Down

0 comments on commit f91b911

Please sign in to comment.