mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Propagate calling conv for invokes too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7b39987bb
commit
df9d0f0ed2
@ -154,8 +154,10 @@ public:
|
||||
InvokeInst *CreateInvoke(Value *Callee, BasicBlock *NormalDest,
|
||||
BasicBlock *UnwindDest, InputIterator ArgBegin,
|
||||
InputIterator ArgEnd, const char *Name = "") {
|
||||
return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest,
|
||||
ArgBegin, ArgEnd), Name);
|
||||
return Insert(TransferAttributes(InvokeInst::Create(Callee,
|
||||
NormalDest, UnwindDest,
|
||||
ArgBegin, ArgEnd),
|
||||
Callee), Name);
|
||||
}
|
||||
|
||||
UnwindInst *CreateUnwind() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user