Browse Source

* release temp

florian 3 years ago
parent
commit
81e83ffa67
1 changed files with 2 additions and 0 deletions
  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;