From b1942175b04eb42214782db50605952ab9222c6a Mon Sep 17 00:00:00 2001 From: whh8b <whh8b@git.zephyr-software.com> Date: Sun, 24 Jan 2016 23:00:24 +0000 Subject: [PATCH] Erase overlapping instructions after they are last used. --- src/zipr_dollop_man.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zipr_dollop_man.cpp b/src/zipr_dollop_man.cpp index 2f2c992..175073c 100644 --- a/src/zipr_dollop_man.cpp +++ b/src/zipr_dollop_man.cpp @@ -60,14 +60,14 @@ namespace zipr { << (*it)->Instruction()->GetAddress()->GetVirtualOffset() << endl; /* - * Delete the overlapping instructions. + * Reliably get a pointer to the containing dollop. */ - new_dollop->erase(it, it_end); + fallthrough_dollop = AddNewDollops((*it)->Instruction()); /* - * Reliably get a pointer to the containing dollop. + * Delete the overlapping instructions. */ - fallthrough_dollop = AddNewDollops((*it)->Instruction()); + new_dollop->erase(it, it_end); /* * Link this dollop to that one. -- GitLab