mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 03:29:41 +02:00
* generate an internal error, instead of warning for i32.const and
i64.const instructions with an unknown parameter
This commit is contained in:
parent
81b8574bfd
commit
0486caeb91
@ -552,7 +552,7 @@ uses
|
||||
top_const:
|
||||
result:=1+SlebSize(val);
|
||||
else
|
||||
Writeln('Warning! Not implemented opcode, pass1: ', opcode, ' ', typ);
|
||||
internalerror(2021092615);
|
||||
end;
|
||||
end;
|
||||
a_local_get,
|
||||
@ -1046,7 +1046,7 @@ uses
|
||||
top_const:
|
||||
WriteSleb(val);
|
||||
else
|
||||
Writeln('Warning! Not implemented opcode, pass2: ', opcode, ' ', typ);
|
||||
internalerror(2021092615);
|
||||
end;
|
||||
end;
|
||||
a_local_get,
|
||||
|
Loading…
Reference in New Issue
Block a user