mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
ProfileData: Don't redundantly default initialize a member
We're default constructing RecordIterator anyway, so it needn't appear in the mem-initializer-list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6689601ee
commit
f0fd505d07
@ -275,8 +275,7 @@ private:
|
||||
LLVM_DELETED_FUNCTION;
|
||||
public:
|
||||
IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
|
||||
: DataBuffer(std::move(DataBuffer)), Index(nullptr),
|
||||
RecordIterator(InstrProfReaderIndex::data_iterator()) {}
|
||||
: DataBuffer(std::move(DataBuffer)), Index(nullptr) {}
|
||||
|
||||
/// Return true if the given buffer is in an indexed instrprof format.
|
||||
static bool hasFormat(const MemoryBuffer &DataBuffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user