summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-04-07 20:43:38 +0000
committerRui Ueyama <ruiu@google.com>2015-04-07 20:43:38 +0000
commit3c45cffd68cd9839d4737ea260ed2706ab304cc9 (patch)
treea9e98d63c888ff305a2683d6120ba195ccbed629 /lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
parent6bea2f4f88ddc4437c4a072ca60118e7ad8ed834 (diff)
downloadbcm5719-llvm-3c45cffd68cd9839d4737ea260ed2706ab304cc9.tar.gz
bcm5719-llvm-3c45cffd68cd9839d4737ea260ed2706ab304cc9.zip
Merge MutableFile with SimpleFile.
SimpleFile is the only derived class of MutableFile. This patch reduces the height of class hierarchy by removing MutableFile class. llvm-svn: 234354
Diffstat (limited to 'lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp')
-rw-r--r--lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp b/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
index be2f5627f4e..f2a9609e863 100644
--- a/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
+++ b/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
@@ -49,7 +49,7 @@ LoadConfigAtom::LoadConfigAtom(VirtualFile &file, const DefinedAtom *sxdata,
} // namespace loadcfg
-void LoadConfigPass::perform(std::unique_ptr<MutableFile> &file) {
+void LoadConfigPass::perform(std::unique_ptr<SimpleFile> &file) {
if (_ctx.noSEH())
return;
OpenPOWER on IntegriCloud