mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:09:14 +02:00
+ WebAssembly internal assembler support for the ref.is_null instruction
This commit is contained in:
parent
2039509cfb
commit
a0b78ad1f7
@ -570,7 +570,8 @@ uses
|
|||||||
a_end_if,
|
a_end_if,
|
||||||
a_end_loop,
|
a_end_loop,
|
||||||
a_end_try,
|
a_end_try,
|
||||||
a_catch_all:
|
a_catch_all,
|
||||||
|
a_ref_is_null:
|
||||||
result:=1;
|
result:=1;
|
||||||
a_i32_trunc_sat_f32_s,
|
a_i32_trunc_sat_f32_s,
|
||||||
a_i32_trunc_sat_f32_u,
|
a_i32_trunc_sat_f32_u,
|
||||||
@ -2003,6 +2004,8 @@ uses
|
|||||||
WriteByte($D0);
|
WriteByte($D0);
|
||||||
WriteByte($6F);
|
WriteByte($6F);
|
||||||
end;
|
end;
|
||||||
|
a_ref_is_null:
|
||||||
|
WriteByte($D1);
|
||||||
else
|
else
|
||||||
internalerror(2021092624);
|
internalerror(2021092624);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user