Object: Fix redundant name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2011-10-17 20:19:29 +00:00
parent 1025cce290
commit 1130a799ab
6 changed files with 11 additions and 11 deletions

View File

@ -229,7 +229,7 @@ error_code MachOObjectFile::isSymbolGlobal(DataRefImpl Symb, bool &Res) const {
}
error_code MachOObjectFile::getSymbolType(DataRefImpl Symb,
SymbolRef::SymbolType &Res) const {
SymbolRef::Type &Res) const {
uint8_t n_type;
if (MachOObj->is64Bit()) {
InMemoryStruct<macho::Symbol64TableEntry> Entry;
@ -454,7 +454,7 @@ error_code MachOObjectFile::isSectionBSS(DataRefImpl DRI,
error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec,
DataRefImpl Symb,
bool &Result) const {
SymbolRef::SymbolType ST;
SymbolRef::Type ST;
getSymbolType(Symb, ST);
if (ST == SymbolRef::ST_External) {
Result = false;