]> granicus.if.org Git - llvm/commitdiff
[NewGVN] Try to be consistent wit the style used in this file. NFCI.
authorDavide Italiano <davide@freebsd.org>
Sat, 14 Jan 2017 20:13:18 +0000 (20:13 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 14 Jan 2017 20:13:18 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292025 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/NewGVN.cpp

index a387b556be42ba3c3b6f1a5af357eee552ae6307..b8897dd13f72ef4364b186f3f27924c297ddfa0f 100644 (file)
@@ -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");
   }