Pārlūkot izejas kodu

+ comment explaining previous change

git-svn-id: branches/debug_eh@41376 -
florian 6 gadi atpakaļ
vecāks
revīzija
a24d75ed3d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      compiler/psabiehpi.pas

+ 2 - 0
compiler/psabiehpi.pas

@@ -534,6 +534,8 @@ implementation
         if not(fc_catching_exceptions in flowcontrol) and
            use_cleanup(exceptframekind) then
           begin
+            { Resume might not be called outside of an landing pad else
+              the unwind is immediatly terminated, so create an empty landing pad }
             psabiehprocinfo:=current_procinfo as tpsabiehprocinfo;
             psabiehprocinfo.CreateNewPSABIEHCallsite;