浏览代码

* fixed return value of fpc_eh_return_data_regno(1) on x86-64

git-svn-id: branches/debug_eh@40336 -
Jonas Maebe 6 年之前
父节点
当前提交
4d262e0eca
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/x86/cpubase.pas

+ 4 - 0
compiler/x86/cpubase.pas

@@ -653,7 +653,11 @@ implementation
       begin
          case nr of
            0: result:=0;
+{$ifdef x86_64}
+           1: result:=1;
+{$else}
            1: result:=2;
+{$endif}
            else
              result:=-1;
          end;