Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
91dfd7e0
Commit
91dfd7e0
authored
6 years ago
by
Brad Payne (Vir Linden)
Browse files
Options
Downloads
Patches
Plain Diff
SL-944 - disabled a not-very-useful assert that greatly slows the RWD build
parent
a8e34e28
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/llmemory.h
+6
-0
6 additions, 0 deletions
indra/llcommon/llmemory.h
with
6 additions
and
0 deletions
indra/llcommon/llmemory.h
+
6
−
0
View file @
91dfd7e0
...
@@ -60,6 +60,12 @@ class LLMutex ;
...
@@ -60,6 +60,12 @@ class LLMutex ;
LL_COMMON_API
void
ll_assert_aligned_func
(
uintptr_t
ptr
,
U32
alignment
);
LL_COMMON_API
void
ll_assert_aligned_func
(
uintptr_t
ptr
,
U32
alignment
);
#ifdef SHOW_ASSERT
#ifdef SHOW_ASSERT
// This is incredibly expensive - in profiling Windows RWD builds, 30%
// of CPU time was in aligment checks.
//#define ASSERT_ALIGNMENT
#endif
#ifdef ASSERT_ALIGNMENT
#define ll_assert_aligned(ptr,alignment) ll_assert_aligned_func(uintptr_t(ptr),((U32)alignment))
#define ll_assert_aligned(ptr,alignment) ll_assert_aligned_func(uintptr_t(ptr),((U32)alignment))
#else
#else
#define ll_assert_aligned(ptr,alignment)
#define ll_assert_aligned(ptr,alignment)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment