diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-03 11:20:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-03 11:20:23 -0800 |
commit | 3543a68928323366c816a653e22a37575191cbfb (patch) | |
tree | 55e1ca2b99baf1943fdf89f771860f28c20dd831 /src/relooper/Relooper.cpp | |
parent | a639bceba11d1282bbc1808c0b8f8ddbead2a3fc (diff) |
make sure to give Ids to split blocks in relooper1.8.1
Diffstat (limited to 'src/relooper/Relooper.cpp')
-rw-r--r-- | src/relooper/Relooper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relooper/Relooper.cpp b/src/relooper/Relooper.cpp index 70cf844b..de69e0ef 100644 --- a/src/relooper/Relooper.cpp +++ b/src/relooper/Relooper.cpp @@ -417,7 +417,7 @@ void Relooper::Calculate(Block *Entry) { for (BlockSet::iterator iter = Original->BranchesIn.begin(); iter != Original->BranchesIn.end(); iter++) { Block *Prior = *iter; Block *Split = new Block(Original->Code, Original->BranchVar); - Parent->Blocks.push_back(Split); + Parent->AddBlock(Split); PrintDebug(" to %d\n", Split->Id); Split->BranchesIn.insert(Prior); Branch *Details = Prior->BranchesOut[Original]; |