|
@@ -707,13 +707,13 @@ implementation
|
|
|
current_asmdata.CurrAsmList.concat(taicpu.op_const(a_br,4)); // jump to the 'finally' section
|
|
|
|
|
|
current_asmdata.CurrAsmList.concat(taicpu.op_sym(a_catch,current_asmdata.WeakRefAsmSymbol(FPC_EXCEPTION_TAG_SYM,AT_WASM_EXCEPTION_TAG)));
|
|
|
- thlcgwasm(hlcg).decblock;
|
|
|
{ exceptionreason:=1 (exception) }
|
|
|
hlcg.g_exception_reason_save_const(current_asmdata.CurrAsmList,exceptionreasontype,1,excepttemps.reasonbuf);
|
|
|
current_asmdata.CurrAsmList.concat(taicpu.op_const(a_br,4)); // jump to the 'finally' section
|
|
|
|
|
|
{ exit the inner 'try..end_try' block }
|
|
|
current_asmdata.CurrAsmList.concat(taicpu.op_none(a_end_try));
|
|
|
+ thlcgwasm(hlcg).decblock;
|
|
|
|
|
|
{ exit the 'continue' block }
|
|
|
current_asmdata.CurrAsmList.concat(taicpu.op_none(a_end_block));
|