forked from OSchip/llvm-project
parent
1eb8376ca7
commit
982ea13c79
|
@ -83,7 +83,6 @@ public:
|
||||||
virtual Value *materializeValueFor(Value *V) override;
|
virtual Value *materializeValueFor(Value *V) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Function *OutlinedFn;
|
|
||||||
FrameVarInfoMap &FrameVarInfo;
|
FrameVarInfoMap &FrameVarInfo;
|
||||||
IRBuilder<> Builder;
|
IRBuilder<> Builder;
|
||||||
};
|
};
|
||||||
|
@ -582,8 +581,7 @@ CloningDirector::CloningAction WinEHCatchDirector::handleInstruction(
|
||||||
|
|
||||||
WinEHFrameVariableMaterializer::WinEHFrameVariableMaterializer(
|
WinEHFrameVariableMaterializer::WinEHFrameVariableMaterializer(
|
||||||
Function *OutlinedFn, FrameVarInfoMap &FrameVarInfo)
|
Function *OutlinedFn, FrameVarInfoMap &FrameVarInfo)
|
||||||
: OutlinedFn(OutlinedFn), FrameVarInfo(FrameVarInfo),
|
: FrameVarInfo(FrameVarInfo), Builder(OutlinedFn->getContext()) {
|
||||||
Builder(OutlinedFn->getContext()) {
|
|
||||||
Builder.SetInsertPoint(&OutlinedFn->getEntryBlock());
|
Builder.SetInsertPoint(&OutlinedFn->getEntryBlock());
|
||||||
// FIXME: Do something with the FrameVarMapped so that it is shared across the
|
// FIXME: Do something with the FrameVarMapped so that it is shared across the
|
||||||
// function.
|
// function.
|
||||||
|
|
Loading…
Reference in New Issue