diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-06 04:27:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-06 04:27:31 +0000 |
commit | 46b5c642b9baca354ba18f3dbb37f4020848d0f3 (patch) | |
tree | 68fd5d94ef426e6da66de84d531927c89fa220fb /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 421a5c9651232f5553658f57603ce8e61ef28748 (diff) | |
download | bcm5719-llvm-46b5c642b9baca354ba18f3dbb37f4020848d0f3.tar.gz bcm5719-llvm-46b5c642b9baca354ba18f3dbb37f4020848d0f3.zip |
remove a bunch of extraneous LLVMContext arguments
from various APIs, addressing PR5325.
llvm-svn: 86231
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 8e1fb98b704..a8a9e306f37 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -1217,7 +1217,7 @@ static bool FoldCondBranchOnPHI(BranchInst *BI) { } // Check for trivial simplification. - if (Constant *C = ConstantFoldInstruction(N, BB->getContext())) { + if (Constant *C = ConstantFoldInstruction(N)) { TranslateMap[BBI] = C; delete N; // Constant folded away, don't need actual inst } else { |