예제 #1
0
파일: Block.cs 프로젝트: ldh0227/de4dot
 // 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);
 }
예제 #2
0
파일: Block.cs 프로젝트: kidhudi/de4dot
 // Returns true if we can merge other with this
 public bool canMerge(Block other)
 {
     return(canAppend(other) && other.isOnlySource(this));
 }
예제 #3
0
 // Returns true if we can merge other with this
 public bool canMerge(Block other)
 {
     return canAppend(other) && other.isOnlySource(this);
 }