Revert changes to compiler of STMs