aboutsummaryrefslogtreecommitdiff
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
commit1cbd4017566ea2fcb1a7cd605f412322da879e34 (patch)
tree5eb75c52a73a34625b7652cbd60d68c1b631c1b3
parentaf7da5cb993d1a2afad4816fe22c497d5adbef91 (diff)
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
-rw-r--r--utils/TableGen/CodeGenSchedule.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/TableGen/CodeGenSchedule.cpp b/utils/TableGen/CodeGenSchedule.cpp
index 886c4c6394..818fce2048 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]);
}
}
}