Explorar o código

* i8086 far data memory model fix in tcgloadnode.generate_nested_access.
The system unit now compiles in the compact and large memory models again.

git-svn-id: trunk@27341 -

nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
0082db46ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/ncgld.pas

+ 1 - 1
compiler/ncgld.pas

@@ -241,7 +241,7 @@ implementation
           internalerror(200309286);
           internalerror(200309286);
         if lvs.localloc.loc<>LOC_REFERENCE then
         if lvs.localloc.loc<>LOC_REFERENCE then
           internalerror(200409241);
           internalerror(200409241);
-        reference_reset_base(location.reference,left.location.register,lvs.localloc.reference.offset,lvs.localloc.reference.alignment);
+        hlcg.reference_reset_base(location.reference,left.resultdef,left.location.register,lvs.localloc.reference.offset,lvs.localloc.reference.alignment);
       end;
       end;