Explorar el Código

+ comment explaining previous change

git-svn-id: branches/debug_eh@41376 -
florian hace 6 años
padre
commit
a24d75ed3d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;