Răsfoiți Sursa

* fixed regvar problem due to emit_bit_test() changing a register that
was allowed to be a LOC_CREGISTER

Jonas Maebe 20 ani în urmă
părinte
comite
62d4f7dd52
1 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 6 2
      compiler/ncgset.pas

+ 6 - 2
compiler/ncgset.pas

@@ -372,7 +372,7 @@ implementation
                else
                 begin
                   location_force_reg(exprasmlist,left.location,opsize,false);
-                  location_force_reg(exprasmlist,right.location,opsize,true);
+                  location_force_reg(exprasmlist,right.location,opsize,false);
                   { allocate a register for the result }
                   location.register:=cg.getintregister(exprasmlist,location.size);
                   { emit bit test operation }
@@ -870,7 +870,11 @@ begin
 end.
 {
   $Log$
-  Revision 1.72  2004-12-05 12:28:11  peter
+  Revision 1.73  2004-12-11 01:04:26  jonas
+    * fixed regvar problem due to emit_bit_test() changing a register that
+      was allowed to be a LOC_CREGISTER
+
+  Revision 1.72  2004/12/05 12:28:11  peter
     * procvar handling for tp procvar mode fixed
     * proc to procvar moved from addrnode to typeconvnode
     * inlininginfo is now allocated only for inline routines that