diff options
| author | Owen Anderson <resistor@mac.com> | 2009-07-15 23:53:25 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-07-15 23:53:25 +0000 |
| commit | 4fdeba97063da375ba360a021db34f025c0d9faf (patch) | |
| tree | cd662afb216dfa9b654e98cc1033a4dca474d8d2 /llvm/lib/CodeGen/StackProtector.cpp | |
| parent | f060b4d9771d1035891aa458f5688ed8c12a30d4 (diff) | |
| download | bcm5719-llvm-4fdeba97063da375ba360a021db34f025c0d9faf.tar.gz bcm5719-llvm-4fdeba97063da375ba360a021db34f025c0d9faf.zip | |
Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.
llvm-svn: 75863
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/StackProtector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackProtector.cpp b/llvm/lib/CodeGen/StackProtector.cpp index 3dce50b1a85..9043b89e354 100644 --- a/llvm/lib/CodeGen/StackProtector.cpp +++ b/llvm/lib/CodeGen/StackProtector.cpp @@ -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 }; |

