From 2aa783b2e716e7e3190e670208ec45caac196599 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 20 May 2009 19:06:49 +0000 Subject: [PATCH] Tabs, be gone! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72180 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Atomic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/System/Atomic.cpp b/lib/System/Atomic.cpp index eee90e22917..8c61ff1069f 100644 --- a/lib/System/Atomic.cpp +++ b/lib/System/Atomic.cpp @@ -35,8 +35,8 @@ void sys::MemoryFence() { } sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, - sys::cas_flag new_value, - sys::cas_flag old_value) { + sys::cas_flag new_value, + sys::cas_flag old_value) { #if LLVM_MULTITHREADED==0 sys::cas_flag result = *ptr; if (result == old_value) @@ -45,7 +45,7 @@ sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, #elif defined(__GNUC__) return __sync_val_compare_and_swap(ptr, old_value, new_value); #elif defined(_MSC_VER) - return InterlockedCompareExchange(ptr, new_value, old_value); + return InterlockedCompareExchange(ptr, new_value, old_value); #else # error No compare-and-swap implementation for your platform! #endif