projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bc16827
)
we are supposed to only create proper CallSites from an instruction (esp. CallInst...
author
Gabor Greif
<ggreif@gmail.com>
Wed, 28 Jul 2010 10:44:59 +0000
(10:44 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 28 Jul 2010 10:44:59 +0000
(10:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109576
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CallSite.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CallSite.h
b/include/llvm/Support/CallSite.h
index 56f5aa9ca93260c5218988f6b7ed5f540a0e43fe..c2d78b17a42157845622eea1af10a6f5620ed91e 100644
(file)
--- a/
include/llvm/Support/CallSite.h
+++ b/
include/llvm/Support/CallSite.h
@@
-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?");