From 55d621fea3191d773820ace4cb624c21169b84b3 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 22 May 2008 17:29:30 +0000 Subject: [PATCH] * skip mark_InlineStart, mark_InlineEnd and mark_Position markers in getnext/lastinstruction git-svn-id: trunk@11039 - --- compiler/i386/daopt386.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/i386/daopt386.pas b/compiler/i386/daopt386.pas index 724492cdb5..1942194458 100644 --- a/compiler/i386/daopt386.pas +++ b/compiler/i386/daopt386.pas @@ -1016,7 +1016,7 @@ begin end;} until not(assigned(Current)) or (current.typ <> ait_Marker) or - not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd]); + not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd,mark_InlineStart,mark_InlineEnd,mark_Position]); Next := Current; if assigned(Current) and not((current.typ in SkipInstr) or @@ -1058,7 +1058,7 @@ begin end;} until not(assigned(Current)) or (current.typ <> ait_Marker) or - not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd]); + not(tai_Marker(current).Kind in [mark_NoPropInfoStart,mark_NoPropInfoEnd,mark_InlineStart,mark_InlineEnd,mark_Position]); if not(assigned(Current)) or (current.typ in SkipInstr) or ((current.typ = ait_label) and