Put comment printing under asm-verbose.
[oota-llvm.git] / lib / CodeGen / StackProtector.cpp
index 3dce50b1a85c7df7b2584776bd5bc61bb3863fc5..9043b89e354e8650265295defe23e23d055bddc0 100644 (file)
@@ -154,7 +154,7 @@ bool StackProtector::InsertStackProtectors() {
       BasicBlock &Entry = F->getEntryBlock();
       Instruction *InsPt = &Entry.front();
 
-      AI = new AllocaInst(*Context, PtrTy, "StackGuardSlot", InsPt);
+      AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
       LoadInst *LI = new LoadInst(StackGuardVar, "StackGuard", false, InsPt);
 
       Value *Args[] = { LI, AI };