llvm.org GIT mirror llvm / ccc3705
Modify r244405 to clearer code, per David Blaikie suggestion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244455 91177308-0d34-0410-b5e6-96231b3b80d8 Yaron Keren 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
28832883 if (StopAddress != -1ULL && !Seq.empty()) {
28842884 // Insert end sequence row with the computed end address, but
28852885 // the same line as the previous one.
2886 Seq.reserve(Seq.size() + 1);
2887 Seq.emplace_back(Seq.back());
2886 auto NextLine = Seq.back();
2887 Seq.emplace_back(NextLine);
28882888 Seq.back().Address = StopAddress;
28892889 Seq.back().EndSequence = 1;
28902890 Seq.back().PrologueEnd = 0;