[tsan] fix the build

llvm-svn: 159137
This commit is contained in:
Kostya Serebryany 2012-06-25 14:31:59 +00:00
parent 540c3d23df
commit 6bbb5140cc
1 changed files with 1 additions and 3 deletions

View File

@ -149,9 +149,7 @@ class SizeClassAllocator64 {
LifoListNode *free_list;
uptr allocated_user; // Bytes allocated for user memory.
uptr allocated_meta; // Bytes allocated for metadata.
char padding[kCacheLineSize -
sizeof(mutex) - sizeof(free_list) -
sizeof(allocated_user) - sizeof(allocated_meta)];
char padding[kCacheLineSize - 4 * sizeof(uptr)];
};
COMPILER_CHECK(sizeof(RegionInfo) == kCacheLineSize);