From 1044d6cbca6d279d457cdd1cf7000671ec48e841 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 11 Apr 2016 17:31:10 -0700 Subject: dyn_cast => dynCast --- src/passes/MergeBlocks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/passes/MergeBlocks.cpp') 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> { while (more) { more = false; for (size_t i = 0; i < curr->list.size(); i++) { - Block* child = curr->list[i]->dyn_cast(); + Block* child = curr->list[i]->dynCast(); 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; -- cgit v1.2.3