summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/CoreLinkingContext.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-11-01 21:05:42 +0000
committerRui Ueyama <ruiu@google.com>2013-11-01 21:05:42 +0000
commitaa5b4dc8686fa217d4487d158a28478e81e38c17 (patch)
treef1ea95cc1ce6c4ade4596d515ede575d2548361b /lld/lib/ReaderWriter/CoreLinkingContext.cpp
parentd0d458665af369af2125773c877f8cc000474011 (diff)
downloadbcm5719-llvm-aa5b4dc8686fa217d4487d158a28478e81e38c17.tar.gz
bcm5719-llvm-aa5b4dc8686fa217d4487d158a28478e81e38c17.zip
Remove duplicate calls of pm.add() for RoundTrip tests.
llvm-svn: 193885
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/CoreLinkingContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
index 3b83d297e48..9132748f206 100644
--- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
@@ -291,10 +291,6 @@ void CoreLinkingContext::addPasses(PassManager &pm) {
else
llvm_unreachable("bad pass name");
}
-#ifndef NDEBUG
- pm.add(std::unique_ptr<Pass>(new RoundTripYAMLPass(*this)));
- pm.add(std::unique_ptr<Pass>(new RoundTripNativePass(*this)));
-#endif
}
Writer &CoreLinkingContext::writer() const { return *_writer; }
OpenPOWER on IntegriCloud