Bläddra i källkod

* 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 6 år sedan
förälder
incheckning
84de128194
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);