[llvm-commits] [compiler-rt] r169485 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
Kostya Serebryany
kcc at google.com
Thu Dec 6 00:02:58 PST 2012
Thanks!
On Thu, Dec 6, 2012 at 11:43 AM, Bill Wendling <isanbard at gmail.com> wrote:
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121206/463999d1/attachment.html>
More information about the llvm-commits
mailing list