|
@@ -688,19 +688,22 @@ implementation
|
|
|
begincatchres,
|
|
|
paraloc1: tcgpara;
|
|
|
pd: tprocdef;
|
|
|
- rttisym: TAsmSymbol;
|
|
|
+ {rttisym: TAsmSymbol;
|
|
|
rttidef: tdef;
|
|
|
+ indirect: boolean;
|
|
|
+ otherunit: boolean; }
|
|
|
wrappedexception: tregister;
|
|
|
exceptloc: tlocation;
|
|
|
- indirect: boolean;
|
|
|
- otherunit: boolean;
|
|
|
typeindex : aint;
|
|
|
begin
|
|
|
paraloc1.init;
|
|
|
+{
|
|
|
rttidef:=nil;
|
|
|
rttisym:=nil;
|
|
|
+}
|
|
|
wrappedexception:=hlcg.getaddressregister(list,voidpointertype);
|
|
|
hlcg.a_load_reg_reg(list,voidpointertype,voidpointertype,NR_FUNCTION_RESULT_REG,wrappedexception);
|
|
|
+(*
|
|
|
if add_catch then
|
|
|
begin
|
|
|
if assigned(excepttype) then
|
|
@@ -715,6 +718,7 @@ implementation
|
|
|
rttisym:=current_asmdata.RefAsmSymbol(excepttype.vmt_mangledname, AT_DATA, indirect);
|
|
|
end;
|
|
|
end;
|
|
|
+*)
|
|
|
{ check if the exception is handled by this node }
|
|
|
if assigned(excepttype) then
|
|
|
begin
|