SHARE
TWEET

Untitled

a guest Jan 16th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/compiler/arm/aoptcpu.pas b/compiler/arm/aoptcpu.pas
  2. index 5724792..8ba2982 100644
  3. --- a/compiler/arm/aoptcpu.pas
  4. +++ b/compiler/arm/aoptcpu.pas
  5. @@ -1145,7 +1145,8 @@ Implementation
  6.                        to
  7.                        add reg2, ...
  8.                      }
  9. -                    if GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) then
  10. +                    if taicpu(p).opcode <> A_STR and
  11. +                       GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) then
  12.                        RemoveSuperfluousMove(p, hp1, 'DataMov2Data');
  13.                    end;
  14.                  A_CMP:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top