From: Peter Griess Date: Thu, 26 Sep 2013 14:35:29 +0000 (-0500) Subject: Use RW_SPINLOCK_USE_X86_INTRINSIC_ in RWSpinLockTest X-Git-Tag: v0.22.0~841 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=01d9c7dda77f3a0141324946afedb19036bc1292;p=folly.git Use RW_SPINLOCK_USE_X86_INTRINSIC_ in RWSpinLockTest Summary: - This macro is computed based on whether or not we support x86 intrinsics in RWSpinLock.h; re-use it rather than re-computing this (and getting it wrong). Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: oyamauchi@fb.com FB internal diff: D998586 --- diff --git a/folly/test/RWSpinLockTest.cpp b/folly/test/RWSpinLockTest.cpp index 9169e887..85181730 100644 --- a/folly/test/RWSpinLockTest.cpp +++ b/folly/test/RWSpinLockTest.cpp @@ -41,8 +41,7 @@ template struct RWSpinLockTest: public testing::Test { }; typedef testing::Types, RWTicketSpinLockT<32, false>, RWTicketSpinLockT<64, true>,