瀏覽代碼

* release temp

florian 4 年之前
父節點
當前提交
81e83ffa67
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/x86/nx86inl.pas

+ 2 - 0
compiler/x86/nx86inl.pas

@@ -907,6 +907,8 @@ implementation
          else
            begin
              load_fpu_location(left);
+             if left.location.loc=LOC_REFERENCE then
+               tg.ungetiftemp(current_asmdata.CurrAsmList,left.location.reference);
              emit_none(A_FSQRT,S_NO);
            end;
        end;