[llvm] r305163 - Fix unused variable warning on non-debug EXPENSIVE_CHECKS builds
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 11:15:50 PDT 2017
Simon Pilgrim via llvm-commits <llvm-commits at lists.llvm.org> writes:
> Author: rksimon
> Date: Sun Jun 11 07:49:29 2017
> New Revision: 305163
>
> URL: http://llvm.org/viewvc/llvm-project?rev=305163&view=rev
> Log:
> Fix unused variable warning on non-debug EXPENSIVE_CHECKS builds
>
> Modified:
> llvm/trunk/lib/Analysis/MemorySSA.cpp
>
> Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=305163&r1=305162&r2=305163&view=diff
> ==============================================================================
>
> --- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
> +++ llvm/trunk/lib/Analysis/MemorySSA.cpp Sun Jun 11 07:49:29 2017
> @@ -1,4 +1,4 @@
> -//===-- MemorySSA.cpp - Memory SSA Builder---------------------------===//
> +//===-- MemorySSA.cpp - Memory SSA Builder---------------------------===//
I guess something added a UTF-8 BOM here... I kind of doubt you meant to
do that.
> //
> // The LLVM Compiler Infrastructure
> //
> @@ -1956,6 +1956,7 @@ MemoryAccess *MemorySSA::CachingWalker::
> #ifdef EXPENSIVE_CHECKS
> MemoryAccess *NewNoCache = Walker.findClobber(StartingAccess, Q);
> assert(NewNoCache == New && "Cache made us hand back a different result?");
> + (void)NewNoCache;
> #endif
> if (AutoResetWalker)
> resetClobberWalker();
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list