@@ -53,7 +53,7 @@ extension Atomic where Value.AtomicRepresentation == ${type} {
53
53
let result = switch ordering {
54
54
% for (name, api, doc, llvm) in loadOrderings:
55
55
case .${name}:
56
- Builtin.atomicload_${llvm}_Int${size}(rawAddress )
56
+ Builtin.atomicload_${llvm}_Int${size}(_rawAddress )
57
57
% end
58
58
59
59
default:
@@ -87,7 +87,7 @@ extension Atomic where Value.AtomicRepresentation == ${type} {
87
87
% for (name, api, doc, llvm) in storeOrderings:
88
88
case .${name}:
89
89
Builtin.atomicstore_${llvm}_Int${size}(
90
- rawAddress ,
90
+ _rawAddress ,
91
91
Value.encodeAtomicRepresentation(desired)._storage
92
92
)
93
93
% end
@@ -123,7 +123,7 @@ extension Atomic where Value.AtomicRepresentation == ${type} {
123
123
let result = switch ordering {
124
124
% for (name, api, _, llvm, _) in updateOrderings:
125
125
case .${name}:
126
- Builtin.atomicrmw_xchg_${llvm}_Int${size}(rawAddress , desired)
126
+ Builtin.atomicrmw_xchg_${llvm}_Int${size}(_rawAddress , desired)
127
127
% end
128
128
129
129
default:
@@ -229,7 +229,7 @@ extension Atomic where Value.AtomicRepresentation == ${type} {
229
229
% for (failureName, _, _, failureLLVM) in loadOrderings:
230
230
case (.${successName}, .${failureName}):
231
231
Builtin.cmpxchg_${actualOrders(successLLVM, failureLLVM)}_Int${size}(
232
- rawAddress ,
232
+ _rawAddress ,
233
233
expected,
234
234
desired
235
235
)
@@ -359,7 +359,7 @@ extension Atomic where Value.AtomicRepresentation == ${type} {
359
359
% for (failureName, _, _, failureLLVM) in loadOrderings:
360
360
case (.${successName}, .${failureName}):
361
361
Builtin.cmpxchg_${actualOrders(successLLVM, failureLLVM)}_weak_Int${size}(
362
- rawAddress ,
362
+ _rawAddress ,
363
363
expected,
364
364
desired
365
365
)
0 commit comments