summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfEHPrepare.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-05 22:41:43 +0000
committerOwen Anderson <resistor@mac.com>2009-07-05 22:41:43 +0000
commite70b637033a74963187ad115795e9c575baaa415 (patch)
treea1e2bd702fdfabdde98c47dced231fece7ccdb31 /llvm/lib/CodeGen/DwarfEHPrepare.cpp
parentd687b0380c145ad5ec6b8205e92c41e5d914e26a (diff)
downloadbcm5719-llvm-e70b637033a74963187ad115795e9c575baaa415.tar.gz
bcm5719-llvm-e70b637033a74963187ad115795e9c575baaa415.zip
More LLVMContext-ification.
llvm-svn: 74807
Diffstat (limited to 'llvm/lib/CodeGen/DwarfEHPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfEHPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
index 720e3d19b75..4ef43fde50d 100644
--- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp
+++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
@@ -314,7 +314,7 @@ bool DwarfEHPrepare::PromoteStackTemporaries() {
if (ExceptionValueVar && DT && DF && isAllocaPromotable(ExceptionValueVar)) {
// Turn the exception temporary into registers and phi nodes if possible.
std::vector<AllocaInst*> Allocas(1, ExceptionValueVar);
- PromoteMemToReg(Allocas, *DT, *DF);
+ PromoteMemToReg(Allocas, *DT, *DF, Context);
return true;
}
return false;
OpenPOWER on IntegriCloud