Compare method bodies for changes in inc optimizer.

`method` is not compared.