[llvm-commits] [compiler-rt] r169485 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
Bill Wendling
isanbard at gmail.com
Wed Dec 5 23:43:17 PST 2012
Author: void
Date: Thu Dec 6 01:43:17 2012
New Revision: 169485
URL: http://llvm.org/viewvc/llvm-project?rev=169485&view=rev
Log:
Remove unused variable.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc?rev=169485&r1=169484&r2=169485&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc Thu Dec 6 01:43:17 2012
@@ -159,7 +159,7 @@
// We do it by maping a bit more and then unmaping redundant pieces.
// We probably can do it with fewer syscalls in some OS-dependent way.
void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) {
- uptr PageSize = GetPageSizeCached();
+// uptr PageSize = GetPageSizeCached();
CHECK(IsPowerOfTwo(size));
CHECK(IsPowerOfTwo(alignment));
uptr map_size = size + alignment;
More information about the llvm-commits
mailing list