aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);
}
}
}