summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2013-03-29 00:13:08 +0000
committerDan Gohman <dan433584@gmail.com>2013-03-29 00:13:08 +0000
commitf6169d020c47b8050d39b5d0dc0473be88aca98d (patch)
treea24ffaf9da147f2f19581423b842eacd7fd6a887
parent338c3aa8d1212d6b3b08694cbb0320e5d0ab103b (diff)
downloadbcm5719-llvm-f6169d020c47b8050d39b5d0dc0473be88aca98d.tar.gz
bcm5719-llvm-f6169d020c47b8050d39b5d0dc0473be88aca98d.zip
Revert r178166. According to Howard, this code is actually ok.
llvm-svn: 178319
-rw-r--r--llvm/utils/TableGen/CodeGenSchedule.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeGenSchedule.cpp b/llvm/utils/TableGen/CodeGenSchedule.cpp
index 886c4c63944..818fce2048c 100644
--- a/llvm/utils/TableGen/CodeGenSchedule.cpp
+++ b/llvm/utils/TableGen/CodeGenSchedule.cpp
@@ -1105,9 +1105,7 @@ void PredTransitions::getIntersectingVariants(
// Push another copy of the current transition for more variants.
Variant.TransVecIdx = TransVec.size();
IntersectingVariants.push_back(Variant);
-
- PredTransition Trans = TransVec[TransIdx];
- TransVec.push_back(Trans);
+ TransVec.push_back(TransVec[TransIdx]);
}
}
}
OpenPOWER on IntegriCloud