projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
337570a
)
Format fix (NFC)
author
Xinliang David Li
<davidxl@google.com>
Thu, 10 Dec 2015 23:48:05 +0000
(23:48 +0000)
committer
Xinliang David Li
<davidxl@google.com>
Thu, 10 Dec 2015 23:48:05 +0000
(23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ProfileData/InstrProfReader.cpp
patch
|
blob
|
history
diff --git
a/lib/ProfileData/InstrProfReader.cpp
b/lib/ProfileData/InstrProfReader.cpp
index 7683cad6ede47637ab21c0824c31f484cce49fb6..10b8fa781d7369d12a7c78747809bc732c0c4501 100644
(file)
--- a/
lib/ProfileData/InstrProfReader.cpp
+++ b/
lib/ProfileData/InstrProfReader.cpp
@@
-335,7
+335,8
@@
RawInstrProfReader<IntPtrT>::readNextRecord(InstrProfRecord &Record) {
return EC;
// Read value data and set Record.
- if (std::error_code EC = readValueProfilingData(Record)) return EC;
+ if (std::error_code EC = readValueProfilingData(Record))
+ return EC;
// Iterate.
advanceData();
@@
-436,7
+437,8
@@
std::error_code InstrProfReaderIndex<HashTableImpl>::getRecords(
Data = *RecordIterator;
- if (Data.empty()) return instrprof_error::malformed;
+ if (Data.empty())
+ return instrprof_error::malformed;
return instrprof_error::success;
}