Author: krj
Date: Sun Nov 29 08:50:29 2009
New Revision: 90077
URL: http://llvm.org/viewvc/llvm-project?rev=90077&view=rev
Log:
Don't call Decl::CollectingStats(false) and Stmt::CollectingStats(false). When
called with false these functions return whether statistics are enabled. They
don't change any state. Since we're not using the return value avoid calling
them in the first place.
Modified:
cfe/trunk/lib/Sema/ParseAST.cpp
Modified: cfe/trunk/lib/Sema/ParseAST.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ParseAST.cpp?rev=90077&r1=90076&r2=90077&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/ParseAST.cpp (original)
+++ cfe/trunk/lib/Sema/ParseAST.cpp Sun Nov 29 08:50:29 2009
@@ -90,8 +90,5 @@
Decl::PrintStats();
Stmt::PrintStats();
Consumer->PrintStats();
-
- Decl::CollectingStats(false);
- Stmt::CollectingStats(false);
}
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits