* set line info markers properly, resolves #17803

git-svn-id: trunk@17476 -
This commit is contained in:
florian 2011-05-16 15:15:35 +00:00
parent 5231d109ba
commit d9ed5adb21

View File

@ -1178,11 +1178,17 @@ implementation
get_exception_temps(current_asmdata.CurrAsmList,destroytemps);
new_exception(current_asmdata.CurrAsmList,destroytemps,doobjectdestroyandreraise);
{ except block needs line info }
current_asmdata.CurrAsmList.concat(tai_marker.create(mark_NoLineInfoEnd));
{ here we don't have to reset flowcontrol }
{ the default and on flowcontrols are handled equal }
secondpass(t1);
exceptflowcontrol:=flowcontrol;
{ don't generate line info for internal cleanup }
current_asmdata.CurrAsmList.concat(tai_marker.create(mark_NoLineInfoStart));
cg.a_label(current_asmdata.CurrAsmList,doobjectdestroyandreraise);
free_exception(current_asmdata.CurrAsmList,destroytemps,0,doobjectdestroy,false);