// Returns true if we can merge other with this public bool canMerge(Block other) { if (other == null || other == this && getOnlyTarget() != other || !other.isOnlySource(this)) return false; // If it's eg. a leave, then don't merge them since it clears the stack. return LastInstr.isBr() || Instr.isFallThrough(LastInstr.OpCode); }
// Returns true if we can merge other with this public bool canMerge(Block other) { return(canAppend(other) && other.isOnlySource(this)); }
// Returns true if we can merge other with this public bool canMerge(Block other) { return canAppend(other) && other.isOnlySource(this); }