peter преди 22 години
родител
ревизия
0e11419a26
променени са 2 файла, в които са добавени 12 реда и са изтрити 6 реда
  1. 7 4
      compiler/i386/n386mat.pas
  2. 5 2
      compiler/i386/n386set.pas

+ 7 - 4
compiler/i386/n386mat.pas

@@ -291,7 +291,7 @@ implementation
                    location_release(exprasmlist,right.location);
                   r.enum:=R_INTREGISTER;
                   r.number:=NR_EDI;
-                  cg.a_load_loc_reg(exprasmlist,right.location,r);
+                  cg.a_load_loc_reg(exprasmlist,OS_INT,right.location,r);
                   popedx:=false;
                   popeax:=false;
                   r.number:=NR_EAX;
@@ -677,7 +677,7 @@ implementation
                         hregister2:=rg.getexplicitregisterint(exprasmlist,NR_ECX)
                        else
                         hregister2:=rg.getregisterint(exprasmlist,OS_INT);
-                       cg.a_load_loc_reg(exprasmlist,right.location,hregister2);
+                       cg.a_load_loc_reg(exprasmlist,OS_INT,right.location,hregister2);
                      end
                    else
                      hregister2:=right.location.register;
@@ -822,7 +822,7 @@ implementation
                        if right.location.loc<>LOC_CREGISTER then
                         location_release(exprasmlist,right.location);
                        hregister2:=rg.getexplicitregisterint(exprasmlist,NR_ECX);
-                       cg.a_load_loc_reg(exprasmlist,right.location,hregister2);
+                       cg.a_load_loc_reg(exprasmlist,OS_INT,right.location,hregister2);
                      end
                    else
                      hregister2:=right.location.register;
@@ -1183,7 +1183,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.54  2003-05-22 21:32:29  peter
+  Revision 1.55  2003-05-31 15:04:31  peter
+    * load_loc_reg update
+
+  Revision 1.54  2003/05/22 21:32:29  peter
     * removed some unit dependencies
 
   Revision 1.53  2003/04/22 23:50:23  peter

+ 5 - 2
compiler/i386/n386set.pas

@@ -549,7 +549,7 @@ implementation
                   {$else}
                     pleftreg:=rg.getexplicitregisterint(exprasmlist,NR_EDI);
                   {$endif}
-                  cg.a_load_loc_reg(exprasmlist,left.location,pleftreg);
+                  cg.a_load_loc_reg(exprasmlist,OS_INT,left.location,pleftreg);
                   location_freetemp(exprasmlist,left.location);
                   location_release(exprasmlist,left.location);
                   emit_reg_ref(A_BT,S_L,pleftreg,right.location.reference);
@@ -739,7 +739,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.58  2003-05-22 21:32:29  peter
+  Revision 1.59  2003-05-31 15:04:31  peter
+    * load_loc_reg update
+
+  Revision 1.58  2003/05/22 21:32:29  peter
     * removed some unit dependencies
 
   Revision 1.57  2003/04/27 11:21:35  peter