IRList.structural_equals does not handle MFLOW_FALLTHROUGH and instructions at the end of method.
if there are 2 methods
FALLTHROUGH
return-void
FALLTHROUGH or DEBUG or POSITION
the 2 method should be "structural equals", but redex return false, because
structural_equals does not skip FALLTHROUGH
structural_equals does not skip useless instructions at the end of method2, which means that the pointer of method1 reaches the end first, while the pointer of method2 still points to the useless instruction.
IRList.structural_equalsdoes not handleMFLOW_FALLTHROUGHand instructions at the end of method.if there are 2 methods
the 2 method should be "structural equals", but redex return false, because
structural_equalsdoes not skipFALLTHROUGHstructural_equalsdoes not skip useless instructions at the end ofmethod2, which means that the pointer ofmethod1reaches the end first, while the pointer ofmethod2still points to the useless instruction.