aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/SampleProfReader.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-13 22:48:48 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-13 22:48:48 +0000
commit43396fa8db238628e286ddff4e684dcfef9670bc (patch)
tree51dafe0a0d861dbff9412c44c8bfc2035b81e5ef /llvm/lib/ProfileData/SampleProfReader.cpp
parent760c5a8f45cc265950990a58dc27de901dc86155 (diff)
downloadllvm-43396fa8db238628e286ddff4e684dcfef9670bc.zip
llvm-43396fa8db238628e286ddff4e684dcfef9670bc.tar.gz
llvm-43396fa8db238628e286ddff4e684dcfef9670bc.tar.bz2
Sample profile reader - remove dead code. NFC.
This removes old remnants from the gcov reader. I missed these when I re-wrote it recently. llvm-svn: 250242
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
-rw-r--r--llvm/lib/ProfileData/SampleProfReader.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/ProfileData/SampleProfReader.cpp b/llvm/lib/ProfileData/SampleProfReader.cpp
index a058274..b0a3d4e 100644
--- a/llvm/lib/ProfileData/SampleProfReader.cpp
+++ b/llvm/lib/ProfileData/SampleProfReader.cpp
@@ -521,16 +521,6 @@ bool SampleProfileReaderBinary::hasFormat(const MemoryBuffer &Buffer) {
return Magic == SPMagic();
}
-bool SourceInfo::operator<(const SourceInfo &P) const {
- if (Line != P.Line)
- return Line < P.Line;
- if (StartLine != P.StartLine)
- return StartLine < P.StartLine;
- if (Discriminator != P.Discriminator)
- return Discriminator < P.Discriminator;
- return FuncName < P.FuncName;
-}
-
std::error_code SampleProfileReaderGCC::skipNextWord() {
uint32_t dummy;
if (!GcovBuffer.readInt(dummy))