Browse Source

m68k: restored orglen variable to g_concatcopy which was actually used, but still got removed in r28072

git-svn-id: trunk@28080 -
Károly Balogh 11 years ago
parent
commit
5276de5627
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/m68k/cgcpu.pas

+ 2 - 0
compiler/m68k/cgcpu.pas

@@ -1507,8 +1507,10 @@ unit cgcpu;
          hl : tasmlabel;
          hl : tasmlabel;
          srcref,dstref : treference;
          srcref,dstref : treference;
          alignsize : tcgsize;
          alignsize : tcgsize;
+         orglen : tcgint;
       begin
       begin
          hregister := getintregister(list,OS_INT);
          hregister := getintregister(list,OS_INT);
+         orglen:=len;
 
 
          { from 12 bytes movs is being used }
          { from 12 bytes movs is being used }
          if ((len<=8) or (not(cs_opt_size in current_settings.optimizerswitches) and (len<=12))) then
          if ((len<=8) or (not(cs_opt_size in current_settings.optimizerswitches) and (len<=12))) then