diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2009-12-07 05:29:59 +0000 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-12-07 05:29:59 +0000 |
| commit | bcc2e45840941752ae54cf91c0abb013fbc19178 (patch) | |
| tree | 73c65c1ebedcf50a6e978cf77178e8bfd452457c /lib/CodeGen/Passes.cpp | |
| parent | 7e572eb37f1ddb4c9c165354f48692d4cd66affa (diff) | |
Fixes the Atomic implementation if compiled by MSVC compiler.
sys::cas_flag should be long on this platform, InterlockedAdd() is
defined only for the Itanium architecture (according to MSDN).
Patch by Michael Beck!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions
