From 99556877aec2c39fbdf1c62a2caba5b7fccff613 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Tue, 17 Nov 2015 23:00:40 +0000 Subject: [PGO] Move value profile data definitions out of IndexedInstrProf Move the data structure defintions out of the namespace. The defs will be shared by raw format. [NFC] llvm-svn: 253394 --- llvm/lib/ProfileData/InstrProfReader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp') diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index 6f20124..479b6bc 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -313,9 +313,8 @@ typedef InstrProfLookupTrait::offset_type offset_type; bool InstrProfLookupTrait::ReadValueProfilingData( const unsigned char *&D, const unsigned char *const End) { - ErrorOr> VDataPtrOrErr = - IndexedInstrProf::ValueProfData::getValueProfData( - D, End, ValueProfDataEndianness); + ErrorOr> VDataPtrOrErr = + ValueProfData::getValueProfData(D, End, ValueProfDataEndianness); if (VDataPtrOrErr.getError()) return false; -- cgit v1.1