mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 05:08:06 +02:00
* leave unresolved branches in the asm output, when the compiler is compiled with -dEXTDEBUG
This commit is contained in:
parent
1ce2fb8a4a
commit
9f077d4ac0
@ -480,9 +480,14 @@ implementation
|
||||
(instr.oper[0]^.ref^.index<>NR_NO) or
|
||||
(instr.oper[0]^.ref^.offset<>0) then
|
||||
internalerror(2021102006);
|
||||
if instr.oper[0]^.ref^.symbol.nestingdepth=-1 then
|
||||
internalerror(2021102007);
|
||||
instr.loadconst(0,cur_nesting_depth-instr.oper[0]^.ref^.symbol.nestingdepth);
|
||||
if instr.oper[0]^.ref^.symbol.nestingdepth<>-1 then
|
||||
instr.loadconst(0,cur_nesting_depth-instr.oper[0]^.ref^.symbol.nestingdepth)
|
||||
else
|
||||
begin
|
||||
{$ifndef EXTDEBUG}
|
||||
internalerror(2021102007);
|
||||
{$endif EXTDEBUG}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user