aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r--llvm/lib/IR/Module.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index 0a47f98..37f4a72 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -71,8 +71,7 @@ template class LLVM_EXPORT_TEMPLATE llvm::SymbolTableListTraits<GlobalIFunc>;
Module::Module(StringRef MID, LLVMContext &C)
: Context(C), ValSymTab(std::make_unique<ValueSymbolTable>(-1)),
- ModuleID(std::string(MID)), SourceFileName(std::string(MID)),
- IsNewDbgInfoFormat(true) {
+ ModuleID(std::string(MID)), SourceFileName(std::string(MID)) {
Context.addModule(this);
}
@@ -83,7 +82,6 @@ Module &Module::operator=(Module &&Other) {
ModuleID = std::move(Other.ModuleID);
SourceFileName = std::move(Other.SourceFileName);
- IsNewDbgInfoFormat = std::move(Other.IsNewDbgInfoFormat);
GlobalList.clear();
GlobalList.splice(GlobalList.begin(), Other.GlobalList);