mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Convert CallInst and InvokeInst APIs to use ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -336,8 +336,7 @@ bool DwarfEHPrepare::HandleURoRInvokes() {
|
||||
Args.push_back(EHCatchAllValue->getInitializer()); // Catch-all indicator.
|
||||
|
||||
CallInst *NewSelector =
|
||||
CallInst::Create(SelectorIntrinsic, Args.begin(), Args.end(),
|
||||
"eh.sel.catch.all", II);
|
||||
CallInst::Create(SelectorIntrinsic, Args, "eh.sel.catch.all", II);
|
||||
|
||||
NewSelector->setTailCall(II->isTailCall());
|
||||
NewSelector->setAttributes(II->getAttributes());
|
||||
|
Reference in New Issue
Block a user