mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Remove section_rel_empty. Just compare begin() and end() instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -117,7 +117,6 @@ public:
|
||||
relocation_iterator_range relocations() const {
|
||||
return relocation_iterator_range(relocation_begin(), relocation_end());
|
||||
}
|
||||
bool relocation_empty() const;
|
||||
section_iterator getRelocatedSection() const;
|
||||
|
||||
DataRefImpl getRawDataRefImpl() const;
|
||||
@ -256,7 +255,6 @@ protected:
|
||||
bool &Result) const = 0;
|
||||
virtual relocation_iterator section_rel_begin(DataRefImpl Sec) const = 0;
|
||||
virtual relocation_iterator section_rel_end(DataRefImpl Sec) const = 0;
|
||||
virtual bool section_rel_empty(DataRefImpl Sec) const = 0;
|
||||
virtual section_iterator getRelocatedSection(DataRefImpl Sec) const;
|
||||
|
||||
// Same as above for RelocationRef.
|
||||
@ -491,10 +489,6 @@ inline relocation_iterator SectionRef::relocation_end() const {
|
||||
return OwningObject->section_rel_end(SectionPimpl);
|
||||
}
|
||||
|
||||
inline bool SectionRef::relocation_empty() const {
|
||||
return OwningObject->section_rel_empty(SectionPimpl);
|
||||
}
|
||||
|
||||
inline section_iterator SectionRef::getRelocatedSection() const {
|
||||
return OwningObject->getRelocatedSection(SectionPimpl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user