Push LLVMContexts through the IntegerType APIs.

llvm-svn: 78948
This commit is contained in:
Owen Anderson
2009-08-13 21:58:54 +00:00
parent 41a750271b
commit 55f1c09e31
160 changed files with 1984 additions and 1597 deletions

View File

@@ -54,7 +54,7 @@ bool llvm::PointerMayBeCaptured(const Value *V, bool ReturnCaptures) {
// its return value and doesn't unwind (a readonly function can leak bits
// by throwing an exception or not depending on the input value).
if (CS.onlyReadsMemory() && CS.doesNotThrow() &&
I->getType() == Type::VoidTy)
I->getType() == Type::getVoidTy(V->getContext()))
break;
// Not captured if only passed via 'nocapture' arguments. Note that