[RuntimeDyld] Remove the brace initialization that was introduced in r226341.

Evidently MSVC doesn't like it.

llvm-svn: 226349
This commit is contained in:
Lang Hames 2015-01-17 00:32:56 +00:00
parent 35c998718c
commit 1f7eab338f
1 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ RuntimeDyldImpl::loadObjectImpl(const object::ObjectFile &Obj) {
SymbolInfo::Visibility Vis = SymbolInfo::Visibility Vis =
(Flags & SymbolRef::SF_Exported) ? (Flags & SymbolRef::SF_Exported) ?
SymbolInfo::Default : SymbolInfo::Hidden; SymbolInfo::Default : SymbolInfo::Hidden;
GlobalSymbolTable[Name] = {SectionID, SectOffset, Vis}; GlobalSymbolTable[Name] = SymbolInfo(SectionID, SectOffset, Vis);
} }
} }
DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name << "\n"); DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name << "\n");
@ -482,7 +482,7 @@ void RuntimeDyldImpl::emitCommonSymbols(const ObjectFile &Obj,
SymbolInfo::Visibility Vis = SymbolInfo::Visibility Vis =
(Flags & SymbolRef::SF_Exported) ? (Flags & SymbolRef::SF_Exported) ?
SymbolInfo::Default : SymbolInfo::Hidden; SymbolInfo::Default : SymbolInfo::Hidden;
SymbolTable[Name.data()] = {SectionID, Offset, Vis}; SymbolTable[Name.data()] = SymbolInfo(SectionID, Offset, Vis);
Offset += Size; Offset += Size;
Addr += Size; Addr += Size;
} }