|
@@ -949,10 +949,10 @@ implementation
|
|
begin
|
|
begin
|
|
if hp.typ=ait_wasm_structured_instruction then
|
|
if hp.typ=ait_wasm_structured_instruction then
|
|
begin
|
|
begin
|
|
- if not (taicpu_wasm_structured_instruction(hp).wstyp in [aitws_try_catch,aitws_legacy_try_delegate]) then
|
|
|
|
|
|
+ if not (taicpu_wasm_structured_instruction(hp).wstyp in [aitws_legacy_try_catch,aitws_legacy_try_delegate]) then
|
|
internalerror(2023102201);
|
|
internalerror(2023102201);
|
|
resolve_labels_of_asmlist_with_try_blocks_recursive(tai_wasmstruc_try(hp).try_asmlist);
|
|
resolve_labels_of_asmlist_with_try_blocks_recursive(tai_wasmstruc_try(hp).try_asmlist);
|
|
- if taicpu_wasm_structured_instruction(hp).wstyp=aitws_try_catch then
|
|
|
|
|
|
+ if taicpu_wasm_structured_instruction(hp).wstyp=aitws_legacy_try_catch then
|
|
with tai_wasmstruc_try_catch(hp) do
|
|
with tai_wasmstruc_try_catch(hp) do
|
|
begin
|
|
begin
|
|
for i:=low(catch_list) to high(catch_list) do
|
|
for i:=low(catch_list) to high(catch_list) do
|