Attached is the patch to update the line number information in pass -mem2reg.<br>Currently this pass will delete the variable declaration info, and keep the line number info.<br>But the kept line number info is not updated, and some is redundant or not correct, this patch just updates those info.<br>
<br>Just for review.<br>