From: Andrew Kaylor Date: Mon, 23 Feb 2015 21:03:30 +0000 (+0000) Subject: Removing unused private field. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5b7c49980662125144c1197f129b86a76e04d8ad;p=oota-llvm.git Removing unused private field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230259 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 422ef5adc1d..83597590225 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -83,7 +83,6 @@ public: virtual Value *materializeValueFor(Value *V) override; private: - Function *OutlinedFn; FrameVarInfoMap &FrameVarInfo; IRBuilder<> Builder; }; @@ -582,8 +581,7 @@ CloningDirector::CloningAction WinEHCatchDirector::handleInstruction( WinEHFrameVariableMaterializer::WinEHFrameVariableMaterializer( Function *OutlinedFn, FrameVarInfoMap &FrameVarInfo) - : OutlinedFn(OutlinedFn), FrameVarInfo(FrameVarInfo), - Builder(OutlinedFn->getContext()) { + : FrameVarInfo(FrameVarInfo), Builder(OutlinedFn->getContext()) { Builder.SetInsertPoint(&OutlinedFn->getEntryBlock()); // FIXME: Do something with the FrameVarMapped so that it is shared across the // function.