Rename some function arguments in MachineBasicBlock.cpp/h by turning the first letter...
[oota-llvm.git] / lib / Object / IRObjectFile.cpp
index e90e08d786f101d63d33ac9e9db141f866510e4a..9f5132e9062c0f215a63c4d08faacf3d643b9afc 100644 (file)
@@ -37,9 +37,7 @@ using namespace object;
 
 IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod)
     : SymbolicFile(Binary::ID_IR, Object), M(std::move(Mod)) {
-  // Setup a mangler with the DataLayout.
-  const DataLayout &DL = M->getDataLayout();
-  Mang.reset(new Mangler(&DL));
+  Mang.reset(new Mangler());
 
   const std::string &InlineAsm = M->getModuleInlineAsm();
   if (InlineAsm.empty())