浏览代码

* 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 年之前
父节点
当前提交
84de128194
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);