Преглед на файлове

Disable limitation of handling of negative shift values, can be enalbed again by setting LIMIT_NEG_SHIFTVALUES macro

git-svn-id: trunk@46221 -
pierre преди 5 години
родител
ревизия
fdb1cd38ab
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/cgobj.pas

+ 1 - 1
compiler/cgobj.pas

@@ -1242,7 +1242,7 @@ implementation
                 caller side and needs to be stored with those bytes at the
                 caller side and needs to be stored with those bytes at the
                 start of the reference -> don't shift right }
                 start of the reference -> don't shift right }
               else if (paraloc.shiftval<0)
               else if (paraloc.shiftval<0)
-{$ifndef MIPS}
+{$ifdef LIMIT_NEG_SHIFTVALUES}
 {$ifdef CPU64BITALU}
 {$ifdef CPU64BITALU}
                       and ((-paraloc.shiftval) in [56{for byte},48{for two bytes},32{for four bytes}])
                       and ((-paraloc.shiftval) in [56{for byte},48{for two bytes},32{for four bytes}])
 {$else}
 {$else}