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 | |
parent | a639bceba11d1282bbc1808c0b8f8ddbead2a3fc (diff) |
make sure to give Ids to split blocks in relooper1.8.1
-rw-r--r-- | src/relooper/Relooper.cpp | 2 | ||||
-rw-r--r-- | tools/shared.py | 2 |
2 files changed, 2 insertions, 2 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]; diff --git a/tools/shared.py b/tools/shared.py index a7d7a64d..2b34090d 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -337,7 +337,7 @@ def find_temp_directory(): # we re-check sanity when the settings are changed) # We also re-check sanity and clear the cache when the version changes -EMSCRIPTEN_VERSION = '1.8.0' +EMSCRIPTEN_VERSION = '1.8.1' def generate_sanity(): return EMSCRIPTEN_VERSION + '|' + get_llvm_target() + '|' + LLVM_ROOT |