diff options
-rw-r--r-- | llvm/lib/CodeGen/WinEHPrepare.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index 422ef5adc1d..83597590225 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/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.
|