]> gitweb.factorcode.org Git - factor.git/commit
vm: switch atomic::add to atomic::fetch_add
authorJoe Groff <arcata@gmail.com>
Tue, 8 Nov 2011 01:58:53 +0000 (17:58 -0800)
committerJoe Groff <arcata@gmail.com>
Tue, 8 Nov 2011 01:58:53 +0000 (17:58 -0800)
commit212d012cb1ac932942c489ce8b21a679cd0efe09
treed658d12711c00aca4cdd9911fb0e6528c5e22615
parent0856bb5711c643618014297a964e77ae4a29b7d3
vm: switch atomic::add to atomic::fetch_add
Win32 only provides fetch-and-add, not add-and-fetch, and we don't really care. Rename the functions so the order of operations is clear.
vm/atomic-cl-32.hpp
vm/atomic-cl-64.hpp
vm/atomic-gcc.hpp
vm/jit.cpp
vm/sampling_profiler.cpp