[RuntimeDyld] Remove the brace initialization that was introduced in r226341.
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / RuntimeDyld.cpp
index b0f44b12fd0d54a579d4fde5cb82abe0e0efd383..8aa0ed7e0eab2b1dd366a913f2349ddccb161308 100644 (file)
@@ -207,7 +207,7 @@ RuntimeDyldImpl::loadObjectImpl(const object::ObjectFile &Obj) {
         SymbolInfo::Visibility Vis =
           (Flags & SymbolRef::SF_Exported) ?
             SymbolInfo::Default : SymbolInfo::Hidden;
-        GlobalSymbolTable[Name] = {SectionID, SectOffset, Vis};
+        GlobalSymbolTable[Name] = SymbolInfo(SectionID, SectOffset, Vis);
       }
     }
     DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name << "\n");
@@ -482,7 +482,7 @@ void RuntimeDyldImpl::emitCommonSymbols(const ObjectFile &Obj,
     SymbolInfo::Visibility Vis =
       (Flags & SymbolRef::SF_Exported) ?
         SymbolInfo::Default : SymbolInfo::Hidden;
-    SymbolTable[Name.data()] = {SectionID, Offset, Vis};
+    SymbolTable[Name.data()] = SymbolInfo(SectionID, Offset, Vis);
     Offset += Size;
     Addr += Size;
   }