summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmemory.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-04 15:21:23 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-01-04 15:21:23 -0500
commit1435a8b9e6203911d2ebe9e3ba217f8eb20e3140 (patch)
tree158c5dcd824aca1d01f0f119849458739d3f451e /indra/llcommon/llmemory.cpp
parentd285f78e91dd18b0dfa2608faf45738af1e637bd (diff)
SH-2789 WIP - stricter calling of memcpyNonAliased16
Diffstat (limited to 'indra/llcommon/llmemory.cpp')
-rwxr-xr-x[-rw-r--r--]indra/llcommon/llmemory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp
index 22204e756a..afaf366668 100644..100755
--- a/indra/llcommon/llmemory.cpp
+++ b/indra/llcommon/llmemory.cpp
@@ -63,11 +63,14 @@ LLPrivateMemoryPoolManager::mem_allocation_info_t LLPrivateMemoryPoolManager::sM
void ll_assert_aligned_func(uintptr_t ptr,U32 alignment)
{
+#ifdef SHOW_ASSERT
+ // Redundant, place to set breakpoints.
if (ptr%alignment!=0)
{
llwarns << "alignment check failed" << llendl;
}
llassert(ptr%alignment==0);
+#endif
}
//static