瀏覽代碼

Also fix first_abs_real like in rev 39988

git-svn-id: trunk@39997 -
pierre 6 年之前
父節點
當前提交
d512d8cae1
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      compiler/ninl.pas

+ 6 - 3
compiler/ninl.pas

@@ -4093,12 +4093,15 @@ implementation
       end;
       end;
 
 
      function tinlinenode.first_abs_real : tnode;
      function tinlinenode.first_abs_real : tnode;
+      var
+         callnode : tcallnode;
       begin
       begin
         { create the call to the helper }
         { create the call to the helper }
         { on entry left node contains the parameter }
         { on entry left node contains the parameter }
-        result := ctypeconvnode.create(ccallnode.createintern('fpc_abs_real',
-                ccallparanode.create(left,nil)),resultdef);
-        include(tcallnode(result).callnodeflags,cnf_check_fpu_exceptions);
+        callnode:=ccallnode.createintern('fpc_abs_real',
+                    ccallparanode.create(left,nil));
+        result := ctypeconvnode.create(callnode,resultdef);
+        include(callnode.callnodeflags,cnf_check_fpu_exceptions);
         left := nil;
         left := nil;
       end;
       end;