diff options
| author | Jay Foad <jay.foad@gmail.com> | 2011-07-15 08:37:34 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2011-07-15 08:37:34 +0000 |
| commit | 5bd375a6cc2e7518c4cfb881b0c5c42f8b78f947 (patch) | |
| tree | 553cd8a3d226b446ce65aadcd67020d47f2e666a /llvm/lib/CodeGen/DwarfEHPrepare.cpp | |
| parent | 6730e4d904d02814325a370d06eb01880009730f (diff) | |
| download | bcm5719-llvm-5bd375a6cc2e7518c4cfb881b0c5c42f8b78f947.tar.gz bcm5719-llvm-5bd375a6cc2e7518c4cfb881b0c5c42f8b78f947.zip | |
Convert CallInst and InvokeInst APIs to use ArrayRef.
llvm-svn: 135265
Diffstat (limited to 'llvm/lib/CodeGen/DwarfEHPrepare.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/DwarfEHPrepare.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index 46a88842983..03604b0a170 100644 --- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp +++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp @@ -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()); |

