Remove this->.

llvm-svn: 233400
This commit is contained in:
Rui Ueyama 2015-03-27 19:33:02 +00:00
parent 2a1c9d00b9
commit 4f694c873a
1 changed files with 7 additions and 9 deletions

View File

@ -656,35 +656,33 @@ public:
SimpleELFDefinedAtom(const File &f) : SimpleDefinedAtom(f) {}
void addReferenceELF(Reference::KindArch arch, Reference::KindValue kindValue,
uint64_t off, const Atom *target,
Reference::Addend addend) {
this->addReference(Reference::KindNamespace::ELF, arch, kindValue, off,
target, addend);
uint64_t off, const Atom *t, Reference::Addend a) {
addReference(Reference::KindNamespace::ELF, arch, kindValue, off, t, a);
}
void addReferenceELF_Hexagon(Reference::KindValue relocType, uint64_t off,
const Atom *t, Reference::Addend a) {
this->addReferenceELF(Reference::KindArch::Hexagon, relocType, off, t, a);
addReferenceELF(Reference::KindArch::Hexagon, relocType, off, t, a);
}
void addReferenceELF_x86_64(Reference::KindValue relocType, uint64_t off,
const Atom *t, Reference::Addend a) {
this->addReferenceELF(Reference::KindArch::x86_64, relocType, off, t, a);
addReferenceELF(Reference::KindArch::x86_64, relocType, off, t, a);
}
void addReferenceELF_Mips(Reference::KindValue relocType, uint64_t off,
const Atom *t, Reference::Addend a) {
this->addReferenceELF(Reference::KindArch::Mips, relocType, off, t, a);
addReferenceELF(Reference::KindArch::Mips, relocType, off, t, a);
}
void addReferenceELF_AArch64(Reference::KindValue relocType, uint64_t off,
const Atom *t, Reference::Addend a) {
this->addReferenceELF(Reference::KindArch::AArch64, relocType, off, t, a);
addReferenceELF(Reference::KindArch::AArch64, relocType, off, t, a);
}
void addReferenceELF_ARM(Reference::KindValue relocType, uint64_t off,
const Atom *t, Reference::Addend a) {
this->addReferenceELF(Reference::KindArch::ARM, relocType, off, t, a);
addReferenceELF(Reference::KindArch::ARM, relocType, off, t, a);
}
};