Browse Source

* fixed ref/loc problems

Jonas Maebe 22 years ago
parent
commit
cbe4a3abd1
1 changed files with 8 additions and 5 deletions
  1. 8 5
      compiler/ncgutil.pas

+ 8 - 5
compiler/ncgutil.pas

@@ -1306,7 +1306,7 @@ implementation
                     r2.enum:=R_INTREGISTER;
                     r2.enum:=R_INTREGISTER;
                     r2.number:=NR_FUNCTION_RETURN64_HIGH_REG;
                     r2.number:=NR_FUNCTION_RETURN64_HIGH_REG;
                     cg.a_reg_alloc(list,r2);
                     cg.a_reg_alloc(list,r2);
-                    cg64.a_load64_ref_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
+                    cg64.a_load64_loc_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
                   end
                   end
                  else
                  else
 {$endif cpu64bit}
 {$endif cpu64bit}
@@ -1343,7 +1343,7 @@ implementation
                        r2.enum:=R_INTREGISTER;
                        r2.enum:=R_INTREGISTER;
                        r2.number:=NR_FUNCTION_RETURN64_HIGH_REG;
                        r2.number:=NR_FUNCTION_RETURN64_HIGH_REG;
                        cg.a_reg_alloc(list,r2);
                        cg.a_reg_alloc(list,r2);
-                       cg64.a_load64_ref_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
+                       cg64.a_load64_loc_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
                      end
                      end
                     else
                     else
 {$endif cpu64bit}
 {$endif cpu64bit}
@@ -1867,7 +1867,7 @@ implementation
                   begin
                   begin
                     r:=rg.getregisterint(list,OS_INT);
                     r:=rg.getregisterint(list,OS_INT);
                     r2:=rg.getregisterint(list,OS_INT);
                     r2:=rg.getregisterint(list,OS_INT);
-                    cg64.a_load64_ref_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
+                    cg64.a_load64_loc_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
                   end
                   end
                  else
                  else
 {$endif cpu64bit}
 {$endif cpu64bit}
@@ -1896,7 +1896,7 @@ implementation
                      begin
                      begin
                        r:=rg.getregisterint(list,OS_INT);
                        r:=rg.getregisterint(list,OS_INT);
                        r2:=rg.getregisterint(list,OS_INT);
                        r2:=rg.getregisterint(list,OS_INT);
-                       cg64.a_load64_ref_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
+                       cg64.a_load64_loc_reg(list,resloc,joinreg64(r,r2){$ifdef newra},false{$endif});
                      end
                      end
                     else
                     else
 {$endif cpu64bit}
 {$endif cpu64bit}
@@ -1971,7 +1971,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.119  2003-06-03 15:06:37  daniel
+  Revision 1.120  2003-06-03 15:49:49  jonas
+    * fixed ref/loc problems
+
+  Revision 1.119  2003/06/03 15:06:37  daniel
     * fixed conflict marks
     * fixed conflict marks
 
 
   Revision 1.118  2003/06/03 13:01:59  daniel
   Revision 1.118  2003/06/03 13:01:59  daniel