Question about removeFromParent

Hi Rasha,

The problem for cloning that when some change done for the original bb or
the cloned bb it's reflected to the other.

This doesn't make sense. Originally you wanted to add the same
basic-block to multiple functions, which would have been even worse
for separating the two.




It sounds like you want copy-on-write semantics for cloned entities. That's a lot of work for very little payoff. You're better off copying the bb.