summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2015-02-23 21:03:30 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2015-02-23 21:03:30 +0000
commit982ea13c793c67488fd2bdf69fe911dfa5ab32f9 (patch)
treec2ae0ea331e18a1f1eec5b0ed0179f85575ee858
parent1eb8376ca7faa9bced81a36904e73b540f940125 (diff)
downloadbcm5719-llvm-982ea13c793c67488fd2bdf69fe911dfa5ab32f9.tar.gz
bcm5719-llvm-982ea13c793c67488fd2bdf69fe911dfa5ab32f9.zip
Removing unused private field.
llvm-svn: 230259
-rw-r--r--llvm/lib/CodeGen/WinEHPrepare.cpp4
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.
OpenPOWER on IntegriCloud