Bug 1021290. More Atomics.h build fixes for clang-cl. r=froydnj

This is basically more of bug 932454

--HG--
extra : rebase_source : 0f9a5d43164efb6940d17e406f41691cb3d26435
This commit is contained in:
Jeff Muizelaar 2014-06-05 19:48:52 -04:00
parent 195098d5d0
commit c50b5c14aa

View File

@ -866,6 +866,7 @@ template<typename T>
struct IntrinsicAddSub<T*> : public IntrinsicApplyHelper<T*>
{
typedef typename IntrinsicApplyHelper<T*>::ValueType ValueType;
typedef typename IntrinsicBase<T>::Primitives Primitives;
static ValueType add(ValueType& aPtr, ptrdiff_t aAmount)
{
@ -893,6 +894,7 @@ struct AtomicIntrinsics : public IntrinsicMemoryOps<T, Order>,
public IntrinsicIncDec<T>
{
typedef typename IntrinsicIncDec<T>::ValueType ValueType;
typedef typename IntrinsicBase<T>::Primitives Primitives;
static ValueType or_(ValueType& aPtr, T aVal)
{