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 | f5edeebd8c18e1231e617ba168180f1995752611 (patch) | |
tree | 88c9f9d042873b94930309e1f873a88e799ec11d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | dddba06e9e9b11ecddfc44792838a5c275cfe453 (diff) | |
download | bcm5719-llvm-f5edeebd8c18e1231e617ba168180f1995752611.tar.gz bcm5719-llvm-f5edeebd8c18e1231e617ba168180f1995752611.zip |
eliminate a bunch of pointless LLVMContext arguments.
llvm-svn: 95001
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 48156261f67..284b984f0a1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/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])) |