Merge "Fix a crash in optimizing compiler with the current method."