Simplify the Mangler interface now that DataLayout is mandatory.
[oota-llvm.git] / lib / LTO / LTOCodeGenerator.cpp
index 716d66abf1c2c7cd04642182292e46d37384d57b..149ec6a4f372549aacb65c4ea6ee6ae40c53c5ef 100644 (file)
@@ -453,7 +453,7 @@ void LTOCodeGenerator::applyScopeRestrictions() {
   passes.add(createVerifierPass());
 
   // mark which symbols can not be internalized
-  Mangler Mangler(TargetMach->getDataLayout());
+  Mangler Mangler;
   std::vector<const char*> MustPreserveList;
   SmallPtrSet<GlobalValue*, 8> AsmUsed;
   std::vector<StringRef> Libcalls;