Move EVER MORE stuff over to LLVMContext.

llvm-svn: 75703
This commit is contained in:
Owen Anderson
2009-07-14 23:09:55 +00:00
parent eea582f04f
commit b6b2530000
53 changed files with 425 additions and 438 deletions

View File

@@ -154,7 +154,7 @@ bool StackProtector::InsertStackProtectors() {
BasicBlock &Entry = F->getEntryBlock();
Instruction *InsPt = &Entry.front();
AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
AI = new AllocaInst(*Context, PtrTy, "StackGuardSlot", InsPt);
LoadInst *LI = new LoadInst(StackGuardVar, "StackGuard", false, InsPt);
Value *Args[] = { LI, AI };