mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
we are supposed to only create proper CallSites from an instruction (esp. CallInst and InvokeInst)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc16827be6
commit
756f0d2ab4
@ -49,8 +49,8 @@ protected:
|
||||
PointerIntPair<InstrTy*, 1, bool> I;
|
||||
public:
|
||||
CallSiteBase() : I(0, false) {}
|
||||
CallSiteBase(CallTy *CI) : I(CI, true) { /*assert(CI);*/ }
|
||||
CallSiteBase(InvokeTy *II) : I(II, false) { /*assert(II);*/ }
|
||||
CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); }
|
||||
CallSiteBase(InvokeTy *II) : I(II, false) { assert(II); }
|
||||
CallSiteBase(ValTy *II) { *this = get(II); }
|
||||
CallSiteBase(InstrTy *II) {
|
||||
assert(II && "Null instruction given?");
|
||||
|
Loading…
x
Reference in New Issue
Block a user