mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 07:59:27 +02:00
* bail out early in tcgaarch64.make_simple_ref if possible
This commit is contained in:
parent
b98df20b4e
commit
6c50c02f7c
@ -312,6 +312,9 @@ implementation
|
||||
{ base + offset }
|
||||
if ref.base<>NR_NO then
|
||||
begin
|
||||
if ref.offset=0 then
|
||||
exit;
|
||||
|
||||
{ valid offset for LDUR/STUR -> use that }
|
||||
if (ref.addressmode=AM_OFFSET) and
|
||||
(op in [A_LDR,A_STR]) and
|
||||
|
Loading…
Reference in New Issue
Block a user