aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCAtom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCAtom.cpp')
-rw-r--r--lib/MC/MCAtom.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAtom.cpp b/lib/MC/MCAtom.cpp
index f3ea6c344d..17a74687e1 100644
--- a/lib/MC/MCAtom.cpp
+++ b/lib/MC/MCAtom.cpp
@@ -106,5 +106,6 @@ MCTextAtom *MCTextAtom::split(uint64_t SplitPt) {
std::copy(I, Insts.end(), std::back_inserter(RightAtom->Insts));
Insts.erase(I, Insts.end());
+ Parent->splitBasicBlocksForAtom(this, RightAtom);
return RightAtom;
}