Browse Source

* Commented out the unneeded/unfinished code.

git-svn-id: trunk@48390 -
yury 4 years ago
parent
commit
0ab6b1ab4d
1 changed files with 7 additions and 3 deletions
  1. 7 3
      compiler/psabiehpi.pas

+ 7 - 3
compiler/psabiehpi.pas

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