Esempio n. 1
0
 // 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);
 }
Esempio n. 2
0
 // Returns true if we can merge other with this
 public bool canMerge(Block other)
 {
     return(canAppend(other) && other.isOnlySource(this));
 }
Esempio n. 3
0
 // Returns true if we can merge other with this
 public bool canMerge(Block other)
 {
     return canAppend(other) && other.isOnlySource(this);
 }