Skip to content

Commit

Permalink
do not leak split blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Jun 1, 2013
1 parent d5dbda3 commit d38a6d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/relooper/Relooper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,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);
Parent->Blocks.push_back(Split);
PrintDebug(" to %d\n", Split->Id);
Split->BranchesIn.insert(Prior);
Branch *Details = Prior->BranchesOut[Original];
Expand Down
2 changes: 1 addition & 1 deletion tools/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def check_node_version():
# 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.4.4'
EMSCRIPTEN_VERSION = '1.4.5'

def generate_sanity():
return EMSCRIPTEN_VERSION + '|' + get_llvm_target()
Expand Down

0 comments on commit d38a6d6

Please sign in to comment.