Class EndRemover

  • All Implemented Interfaces:
    Transformer

    public class EndRemover
    extends java.lang.Object
    implements Transformer
    Try to clean following between a Trap
    1. Move Stmts outside a Trap if Stmts are not throw
    2. Remove Trap if all Stmts are not throw
    3. ...;GOTO L2; ... ; L2: ; return; => ...;return ; ... ; L2: ; return;
    • Constructor Summary

      Constructors 
      Constructor Description
      EndRemover()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform​(IrMethod irMethod)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndRemover

        public EndRemover()