From: Davide Italiano Date: Sat, 14 Jan 2017 20:13:18 +0000 (+0000) Subject: [NewGVN] Try to be consistent wit the style used in this file. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8cc9486676cd95a8904e3d17d8137723c8c8c01;p=llvm [NewGVN] Try to be consistent wit the style used in this file. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292025 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/NewGVN.cpp b/lib/Transforms/Scalar/NewGVN.cpp index a387b556be4..b8897dd13f7 100644 --- a/lib/Transforms/Scalar/NewGVN.cpp +++ b/lib/Transforms/Scalar/NewGVN.cpp @@ -1455,7 +1455,7 @@ void NewGVN::updateProcessedCount(Value *V) { if (ProcessedCount.count(V) == 0) { ProcessedCount.insert({V, 1}); } else { - ProcessedCount[V] += 1; + ++ProcessedCount[V]; assert(ProcessedCount[V] < 100 && "Seem to have processed the same Value a lot"); }