From f6169d020c47b8050d39b5d0dc0473be88aca98d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 29 Mar 2013 00:13:08 +0000 Subject: Revert r178166. According to Howard, this code is actually ok. llvm-svn: 178319 --- llvm/utils/TableGen/CodeGenSchedule.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/utils/TableGen/CodeGenSchedule.cpp') 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]); } } } -- cgit v1.2.3