Browse Source

* another check for register types (should fix new failure
of webtbs/tw7161)

git-svn-id: trunk@7510 -

Jonas Maebe 18 years ago
parent
commit
60d424e97d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/i386/daopt386.pas

+ 1 - 0
compiler/i386/daopt386.pas

@@ -1265,6 +1265,7 @@ begin
     begin
     begin
       p := tai(p.previous);
       p := tai(p.previous);
       if (p.typ = ait_regalloc) and
       if (p.typ = ait_regalloc) and
+         (getregtype(tai_regalloc(p).reg) = R_INTREGISTER) and
          (getsupreg(tai_regalloc(p).reg) = supreg) then
          (getsupreg(tai_regalloc(p).reg) = supreg) then
         if (tai_regalloc(p).ratype=ra_dealloc) then
         if (tai_regalloc(p).ratype=ra_dealloc) then
           if first then
           if first then