mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 21:29:15 +02:00
+ added WebAssembly invalid register check in op_reg when compiler is compiled with EXTDEBUG
git-svn-id: branches/wasm@48177 -
This commit is contained in:
parent
ec7fbcb271
commit
c8e130d525
@ -186,6 +186,10 @@ implementation
|
||||
begin
|
||||
inherited create(op);
|
||||
ops:=1;
|
||||
{$ifdef EXTDEBUG}
|
||||
if getregtype(_op1)=R_INVALIDREGISTER then
|
||||
InternalError(2021011901);
|
||||
{$endif EXTDEBUG}
|
||||
loadreg(0,_op1);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user