mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-10 14:18:34 +02:00
Ignore NR_DEFAULTFLAGS for ait_regalloc, because there is no default flags for JVM
This commit is contained in:
parent
c06a3f2ca3
commit
abee4d46b6
@ -361,6 +361,9 @@ implementation
|
||||
case p.typ of
|
||||
ait_regalloc:
|
||||
with Tai_regalloc(p) do
|
||||
begin
|
||||
{ NR_DEFAULTFLAGS is NR_NO for JVM CPU }
|
||||
if (reg<>NR_DEFAULTFLAGS) then
|
||||
begin
|
||||
case getregtype(reg) of
|
||||
R_INTREGISTER:
|
||||
@ -402,6 +405,7 @@ implementation
|
||||
p.free;
|
||||
p:=q;
|
||||
end;
|
||||
end;
|
||||
ait_instruction:
|
||||
do_spill_replace_all(list,taicpu(p),spill_temps);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user