diff --git a/gen/ms-cxx-helper.cpp b/gen/ms-cxx-helper.cpp index 29340144f1..603b222137 100644 --- a/gen/ms-cxx-helper.cpp +++ b/gen/ms-cxx-helper.cpp @@ -91,7 +91,6 @@ void remapBlocksValue(std::vector &blocks, // - redirect srcTarget to continueWith // - set "funclet" attribute inside catch/cleanup pads // - inside funclets, replace "unreachable" with "branch cleanupret" -// - disable inlining inside a funclet void cloneBlocks(const std::vector &srcblocks, std::vector &blocks, llvm::BasicBlock *continueWith, llvm::BasicBlock *unwindTo, @@ -116,12 +115,10 @@ void cloneBlocks(const std::vector &srcblocks, if (auto IInst = llvm::dyn_cast (Inst)) { auto invoke = llvm::InvokeInst::Create( IInst, llvm::OperandBundleDef("funclet", funclet)); - invoke->setIsNoInline(); newInst = invoke; } else if (auto CInst = llvm::dyn_cast (Inst)) { auto call = llvm::CallInst::Create( CInst, llvm::OperandBundleDef("funclet", funclet)); - call->setIsNoInline(); newInst = call; } else if (funclet && llvm::isa(Inst)) { newInst = llvm::BranchInst::Create(continueWith); // to cleanupret