diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 17:31:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 17:34:33 -0700 |
commit | 1044d6cbca6d279d457cdd1cf7000671ec48e841 (patch) | |
tree | bf4255d2fead5fdf721ea178607abfc408cd6ac8 /src/passes/MergeBlocks.cpp | |
parent | 9663f99fa5beb06255d9b564ae9926cfb80a53d8 (diff) | |
download | binaryen-1044d6cbca6d279d457cdd1cf7000671ec48e841.tar.gz binaryen-1044d6cbca6d279d457cdd1cf7000671ec48e841.tar.bz2 binaryen-1044d6cbca6d279d457cdd1cf7000671ec48e841.zip |
dyn_cast => dynCast
Diffstat (limited to 'src/passes/MergeBlocks.cpp')
-rw-r--r-- | src/passes/MergeBlocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/MergeBlocks.cpp b/src/passes/MergeBlocks.cpp index ab210123c..578d4fc45 100644 --- a/src/passes/MergeBlocks.cpp +++ b/src/passes/MergeBlocks.cpp @@ -29,7 +29,7 @@ struct MergeBlocks : public WalkerPass<PostWalker<MergeBlocks>> { while (more) { more = false; for (size_t i = 0; i < curr->list.size(); i++) { - Block* child = curr->list[i]->dyn_cast<Block>(); + Block* child = curr->list[i]->dynCast<Block>(); if (!child) continue; if (child->name.is()) continue; // named blocks can have breaks to them (and certainly do, if we ran RemoveUnusedNames and RemoveUnusedBrs) ExpressionList merged; |