forked from OSchip/llvm-project
Fix builds where LLVM_ENABLE_STATS is disabled
Missed Stats->EnableStats rename in rG3fb832fe8bdc317687d5a4d2ca20f5f73b089341
This commit is contained in:
parent
aedb528d43
commit
2fb9d72c77
|
@ -242,7 +242,7 @@ void llvm::PrintStatistics() {
|
|||
// Check if the -stats option is set instead of checking
|
||||
// !Stats.Stats.empty(). In release builds, Statistics operators
|
||||
// do nothing, so stats are never Registered.
|
||||
if (Stats) {
|
||||
if (EnableStats) {
|
||||
// Get the stream to write to.
|
||||
std::unique_ptr<raw_ostream> OutStream = CreateInfoOutputFile();
|
||||
(*OutStream) << "Statistics are disabled. "
|
||||
|
|
Loading…
Reference in New Issue