From: Dan Gohman Date: Fri, 29 Mar 2013 00:13:08 +0000 (+0000) Subject: Revert r178166. According to Howard, this code is actually ok. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1cbd4017566ea2fcb1a7cd605f412322da879e34;p=oota-llvm.git Revert r178166. According to Howard, this code is actually ok. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178319 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenSchedule.cpp b/utils/TableGen/CodeGenSchedule.cpp index 886c4c63944..818fce2048c 100644 --- a/utils/TableGen/CodeGenSchedule.cpp +++ b/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]); } } }