Skip to content

Commit b7ec0e1

Browse files
committed
remove unnecessary changes 2
1 parent 2896ba3 commit b7ec0e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gen/ms-cxx-helper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ void cloneBlocks(const std::vector<llvm::BasicBlock *> &srcblocks,
9595

9696
for (auto bb : srcblocks) {
9797
llvm::Function *F = bb->getParent();
98+
9899
auto nbb = llvm::BasicBlock::Create(bb->getContext(), bb->getName());
99100
// Loop over all instructions, and copy them over.
100101
for (auto &II : *bb) {
@@ -117,6 +118,7 @@ void cloneBlocks(const std::vector<llvm::BasicBlock *> &srcblocks,
117118
newInst = Inst->clone();
118119

119120
newInst->insertInto(nbb, nbb->end());
121+
120122
VMap[Inst] = newInst; // Add instruction map to value.
121123
if (unwindTo)
122124
if (auto dest = getUnwindDest(Inst))

0 commit comments

Comments
 (0)