瀏覽代碼

* fixed SETTEXTBUF

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

+ 1 - 3
compiler/ninl.pas

@@ -1232,7 +1232,6 @@ implementation
          vr        : bestreal;
          hightree,
          hp        : tnode;
-         srsym     : tsym;
          checkrange : boolean;
       label
          myexit;
@@ -1698,10 +1697,9 @@ implementation
                 begin
                   resulttype:=voidtype;
                   { now we know the type of buffer }
-                  srsym:=search_system_type('SETTEXTBUF');
                   hp:=ccallparanode.create(cordconstnode.create(
                      tcallparanode(left).left.resulttype.def.size,s32inttype,true),left);
-                  result:=ccallnode.create(hp,tprocsym(srsym),systemunit,nil,[]);
+                  result:=ccallnode.createintern('SETTEXTBUF',hp);
                   left:=nil;
                 end;