Explorar o código

* fixed result node of fpc_eh_return_data_regno (r40070), resolves compiler
crashes (and invalid results) when using this intrinsic

git-svn-id: branches/debug_eh@40074 -

Jonas Maebe %!s(int64=6) %!d(string=hai) anos
pai
achega
84de128194
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/ninl.pas

+ 1 - 1
compiler/ninl.pas

@@ -2300,7 +2300,7 @@ implementation
                      vl:=eh_return_data_regno(vl.svalue);
                      if vl=-1 then
                        CGMessagePos(left.fileinfo,type_e_range_check_error_bounds);
-                     result:=genintconstnode(vl);
+                     hp:=genintconstnode(vl);
                    end;
                  else
                    internalerror(88);