mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 01:00:00 +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_loop,
|
||||
a_end_try,
|
||||
a_catch_all:
|
||||
a_catch_all,
|
||||
a_ref_is_null:
|
||||
result:=1;
|
||||
a_i32_trunc_sat_f32_s,
|
||||
a_i32_trunc_sat_f32_u,
|
||||
@ -2003,6 +2004,8 @@ uses
|
||||
WriteByte($D0);
|
||||
WriteByte($6F);
|
||||
end;
|
||||
a_ref_is_null:
|
||||
WriteByte($D1);
|
||||
else
|
||||
internalerror(2021092624);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user