瀏覽代碼

* quick fix for llvm compilation

git-svn-id: trunk@47702 -
florian 4 年之前
父節點
當前提交
d49453edba
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/nflw.pas

+ 2 - 0
compiler/nflw.pas

@@ -1588,6 +1588,7 @@ implementation
                     CGMessagePos(right.fileinfo,cg_w_unreachable_code);
                end;
           end;
+{$ifndef llvm}
 {$if defined(i386) or defined(x86_64) or defined(xtensa)}
         { use min/max intrinsic? }
         if (left.nodetype in [gtn,gten,ltn,lten]) and IsSingleStatement(right,thenstmnt) and IsSingleStatement(t1,elsestmnt) and
@@ -1639,6 +1640,7 @@ implementation
               );
           end;
 {$endif defined(i386) or defined(x86_64) or defined(xtensa)}
+{$endif llvm}
       end;