mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 01:49:20 +02:00
* Xtensa: fix crash in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49132 -
This commit is contained in:
parent
103599ede0
commit
9a39124118
@ -145,10 +145,7 @@ Implementation
|
|||||||
begin
|
begin
|
||||||
p := taicpu(hp);
|
p := taicpu(hp);
|
||||||
Result := false;
|
Result := false;
|
||||||
if not ((assigned(hp)) and (hp.typ = ait_instruction)) then
|
if not(assigned(hp) and (hp.typ = ait_instruction) and (p.ops > 0)) then
|
||||||
exit;
|
|
||||||
|
|
||||||
if Result then
|
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
case p.opcode of
|
case p.opcode of
|
||||||
|
Loading…
Reference in New Issue
Block a user