mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 03:50:35 +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:
|
top_const:
|
||||||
result:=1+SlebSize(val);
|
result:=1+SlebSize(val);
|
||||||
else
|
else
|
||||||
Writeln('Warning! Not implemented opcode, pass1: ', opcode, ' ', typ);
|
internalerror(2021092615);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
a_local_get,
|
a_local_get,
|
||||||
@ -1046,7 +1046,7 @@ uses
|
|||||||
top_const:
|
top_const:
|
||||||
WriteSleb(val);
|
WriteSleb(val);
|
||||||
else
|
else
|
||||||
Writeln('Warning! Not implemented opcode, pass2: ', opcode, ' ', typ);
|
internalerror(2021092615);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
a_local_get,
|
a_local_get,
|
||||||
|
Loading…
Reference in New Issue
Block a user