aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-09-13 18:30:57 +0000
committerEric Christopher <echristo@apple.com>2010-09-13 18:30:57 +0000
commit1a56e083e7ee7cc05afe02eff40a45858cd9adda (patch)
tree5af0f309cbb0d66e67affe664ad9e02bef5561fe /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parentda53582d1155dfb560f043c801de5880e483ce16 (diff)
Silence more warnings. Two more unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 419784d47a..ca97ed30a3 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2829,8 +2829,6 @@ static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) {
int TargetLowering::getMultipleConstraintMatchWeight(
AsmOperandInfo &info, int maIndex) const {
std::vector<std::string> &rCodes = info.multipleAlternatives[maIndex].Codes;
- int matchingInput = info.multipleAlternatives[maIndex].MatchingInput;
- TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown;
int BestWeight = -1;
// Loop over the options, keeping track of the most general one.