mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +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
|
||||
p := taicpu(hp);
|
||||
Result := false;
|
||||
if not ((assigned(hp)) and (hp.typ = ait_instruction)) then
|
||||
exit;
|
||||
|
||||
if Result then
|
||||
if not(assigned(hp) and (hp.typ = ait_instruction) and (p.ops > 0)) then
|
||||
exit;
|
||||
|
||||
case p.opcode of
|
||||
|
Loading…
Reference in New Issue
Block a user