From c09b31bef5025ab735effc9032ca7db821134b94 Mon Sep 17 00:00:00 2001 From: sg Date: Sat, 29 Jul 2000 18:27:53 +0000 Subject: [PATCH] * Applied patch by Markus Kaemmerer which removes a tiny memory leak for the generation of code for in_[sin|cos]_extended code (a label has been created but never used afterwards) --- compiler/cg386inl.pas | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/compiler/cg386inl.pas b/compiler/cg386inl.pas index ace2172f88..b4bc687206 100644 --- a/compiler/cg386inl.pas +++ b/compiler/cg386inl.pas @@ -1463,12 +1463,12 @@ implementation in_sin_extended, in_cos_extended: begin - getlabel(l1); if p^.inlinenumber=in_sin_extended then emit_none(A_FSIN,S_NO) else emit_none(A_FCOS,S_NO); { + getlabel(l1); emit_reg(A_FNSTSW,S_NO,R_AX); emit_none(A_SAHF,S_NO); emitjmp(C_NP,l1); @@ -1528,7 +1528,12 @@ implementation end. { $Log$ - Revision 1.3 2000-07-21 15:14:02 jonas + Revision 1.4 2000-07-29 18:27:53 sg + * Applied patch by Markus Kaemmerer which removes a tiny memory leak + for the generation of code for in_[sin|cos]_extended code + (a label has been created but never used afterwards) + + Revision 1.3 2000/07/21 15:14:02 jonas + added is_addr field for labels, if they are only used for getting the address (e.g. for io checks) and corresponding getaddrlabel() procedure