[llvm-commits] [llvm] r72077 - in /llvm/trunk: LICENSE.TXT include/llvm/System/Atomic.h

Eric Christopher echristo at apple.com
Mon May 18 17:16:07 PDT 2009


On May 18, 2009, at 5:08 PM, Owen Anderson wrote:


> +#if !defined(ENABLE_THREADS) || ENABLE_THREADS == 0
>

Since it's going to be defined either way how about

#if ENABLE_THREADS == 0

or perhaps even better let DCE handle it:

if (!ENABLE_THREADS)

:)

-eric



More information about the llvm-commits mailing list