commit | ce2c51b6701c06f701efa2871794b7710cb64b41 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Mon Nov 23 03:50:44 2009 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Mon Nov 23 03:50:44 2009 +0000 |
tree | 298f6ed7fc58f4a04c353ae0efcb8b3b0bd2a0d7 | |
parent | 2e0316fcf051154864047a0ebf2497efe7ec8346 [diff] [blame] |
Pull LLVMContext out of PromoteMemToReg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89645 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 2e3b694..047d279 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@ -192,7 +192,7 @@ if (Allocas.empty()) break; - PromoteMemToReg(Allocas, DT, DF, F.getContext()); + PromoteMemToReg(Allocas, DT, DF); NumPromoted += Allocas.size(); Changed = true; }