Browse Source

* don't move addresses in a LOC_CREGISTER to another register for
derefnodes

git-svn-id: trunk@2190 -

Jonas Maebe 19 years ago
parent
commit
ea89d8a881
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncgmem.pas

+ 1 - 1
compiler/ncgmem.pas

@@ -184,6 +184,7 @@ implementation
          secondpass(left);
          location_reset(location,LOC_REFERENCE,def_cgsize(resulttype.def));
          case left.location.loc of
+            LOC_CREGISTER,
             LOC_REGISTER:
               begin
               {$ifdef cpu_uses_separate_address_registers}
@@ -197,7 +198,6 @@ implementation
               {$endif}
                   location.reference.base := left.location.register;
               end;
-            LOC_CREGISTER,
             LOC_CREFERENCE,
             LOC_REFERENCE:
               begin