Cleanup whitespace.

llvm-svn: 153634
This commit is contained in:
Bill Wendling 2012-03-29 04:28:00 +00:00
parent c31d004ece
commit 2b743c3f8a
1 changed files with 12 additions and 15 deletions

View File

@ -43,9 +43,8 @@ private:
typedef llvm::StringMap<uint8_t> StringSet;
struct NameAndAttributes {
enum name_type { IsFunction, IsData };
const char *name;
lto_symbol_attributes attributes;
uint32_t attributes;
};
llvm::OwningPtr<llvm::Module> _module;
@ -109,8 +108,7 @@ public:
/// index.
lto_symbol_attributes getSymbolAttributes(uint32_t index) {
if (index < _symbols.size())
return _symbols[index].attributes;
else
return lto_symbol_attributes(_symbols[index].attributes);
return lto_symbol_attributes(0);
}
@ -118,7 +116,6 @@ public:
const char *getSymbolName(uint32_t index) {
if (index < _symbols.size())
return _symbols[index].name;
else
return NULL;
}