From e92f07f542640795f8dfbc97a829d6695f5361b0 Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 19 Jan 1999 10:51:32 +0000 Subject: [PATCH] * fix to bug0183 in secondnot --- compiler/cg386mat.pas | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/cg386mat.pas b/compiler/cg386mat.pas index 04d2fe6ced..03a7cb8ce5 100644 --- a/compiler/cg386mat.pas +++ b/compiler/cg386mat.pas @@ -636,8 +636,9 @@ implementation secondpass(p^.left); clear_location(p^.location); p^.location.loc:=LOC_REGISTER; - p^.location.register:=def_getreg(p^.resulttype); del_reference(p^.left^.location.reference); + { this was placed before del_ref => internaalerror(10) } + p^.location.register:=def_getreg(p^.resulttype); if p^.left^.location.loc=LOC_CREGISTER then emit_reg_reg(A_MOV,opsize,p^.left^.location.register,p^.location.register) else @@ -754,7 +755,10 @@ implementation end. { $Log$ - Revision 1.15 1998-12-11 16:50:22 florian + Revision 1.16 1999-01-19 10:51:32 pierre + * fix to bug0183 in secondnot + + Revision 1.15 1998/12/11 16:50:22 florian + typed const int64 and qword + unary minus-operator q1:=-q2; + not-operator