Browse Source

--- Merging r29639 into '.':
U compiler/x86/cgx86.pas

# revisions: 29639

git-svn-id: branches/fixes_3_0@29640 -

marco 10 years ago
parent
commit
185b9a216d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/x86/cgx86.pas

+ 2 - 1
compiler/x86/cgx86.pas

@@ -2266,7 +2266,8 @@ unit cgx86;
         REGCX=NR_CX;
         REGSI=NR_SI;
         REGDI=NR_DI;
-        copy_len_sizes = [1, 2];
+        copy_len_sizes = [1, 2, 4]; { 4 is included here, because it's still more
+          efficient to use copy_move instead of copy_string for copying 4 bytes }
         push_segment_size = S_W;
 {$endif}