[ReaderWriter] Simplify initialization of class fields.
No functional changes.
llvm-svn: 210532
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
index 36ec7a2..ff8fe37 100644
--- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
@@ -186,7 +186,7 @@
class TestingStubsPass : public StubsPass {
public:
- TestingStubsPass(const LinkingContext &ctx) : _file(TestingPassFile(ctx)) {}
+ TestingStubsPass(const LinkingContext &ctx) : _file(ctx) {}
bool noTextRelocs() override { return true; }
@@ -214,7 +214,7 @@
class TestingGOTPass : public GOTPass {
public:
- TestingGOTPass(const LinkingContext &ctx) : _file(TestingPassFile(ctx)) {}
+ TestingGOTPass(const LinkingContext &ctx) : _file(ctx) {}
bool noTextRelocs() override { return true; }