* generate an internal error, instead of warning for i32.const and

i64.const instructions with an unknown parameter
This commit is contained in:
Nikolay Nikolov 2021-09-26 06:58:46 +03:00
parent 81b8574bfd
commit 0486caeb91

View File

@ -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,