diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-01 20:48:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-01 20:48:08 +0000 |
commit | b29d596072d2ba32a0bb59241baf7a1c0ff5ed94 (patch) | |
tree | 3523ec42c40409ed46b5168b618e022159f6ce7d /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | a419b56d896d5180adb14e39d5c969306bd5b400 (diff) |
eliminate a bunch of pointless LLVMContext arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 48156261f6..284b984f0a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2317,8 +2317,7 @@ void SelectionDAGBuilder::visitShuffleVector(User &I) { // Convert the ConstantVector mask operand into an array of ints, with -1 // representing undef values. SmallVector<Constant*, 8> MaskElts; - cast<Constant>(I.getOperand(2))->getVectorElements(*DAG.getContext(), - MaskElts); + cast<Constant>(I.getOperand(2))->getVectorElements(MaskElts); unsigned MaskNumElts = MaskElts.size(); for (unsigned i = 0; i != MaskNumElts; ++i) { if (isa<UndefValue>(MaskElts[i])) |