Regression test for a crash due to the removal
of HCurrentMethod from the optimizing graph.