     @_transparent
     mutating func atomicOr(mask: Int32) -> Int32 {
         @inline(__always)
-        func or(mask: Int32, _ theVal: UnsafeMutablePointer<Int32>) -> Int32 {
+        func or(theVal: UnsafeMutablePointer<Int32>) -> Int32 {
             return OSAtomicOr32OrigBarrier(UInt32(bitPattern: mask), UnsafeMutablePointer(theVal))
         }
-        return or(mask, &self)
+        return or(&self)
     }
     
     @_transparent
     mutating func atomicAnd(mask: Int32) -> Int32 {
         @inline(__always)
-        func and(mask: Int32, _ theVal: UnsafeMutablePointer<Int32>) -> Int32 {
+        func and(theVal: UnsafeMutablePointer<Int32>) -> Int32 {
             return OSAtomicAnd32OrigBarrier(UInt32(bitPattern: mask), UnsafeMutablePointer(theVal))
         }
-        return and(mask, &self)
+        return and(&self)
     }
     
     @_transparent
     mutating func atomicXor(mask: Int32) -> Int32 {
         @inline(__always)
-        func xor(mask: Int32, _ theVal: UnsafeMutablePointer<Int32>) -> Int32 {
+        func xor(theVal: UnsafeMutablePointer<Int32>) -> Int32 {
             return OSAtomicXor32OrigBarrier(UInt32(bitPattern: mask), UnsafeMutablePointer(theVal))
         }
-        return xor(mask, &self)
+        return xor(&self)
     }
 }
 

    @_transparent
    public mutating func compareSet(oldVal: UInt, _ newVal: UInt) -> Bool {
        @inline(__always)
        func cas(oldVal: Int, _ newVal: Int, _ theVal: UnsafeMutablePointer<UInt>) -> Bool {
            return OSAtomicCompareAndSwapLongBarrier(oldVal, newVal, UnsafeMutablePointer(theVal))
        }
        return cas(Int(bitPattern: oldVal), Int(bitPattern: newVal), &self)
    }
}


    @_transparent
    mutating func atomicAdd(amount: UInt32) -> UInt32 {
        @inline(__always)
        func add(theVal: UnsafeMutablePointer<UInt32>) -> UInt32 {
            return UInt32(bitPattern: OSAtomicAdd32Barrier(Int32(bitPattern: amount), UnsafeMutablePointer(theVal)) - Int32(bitPattern: amount))
        }
        return add(&self)
    }
    
    @_transparent
