Browse Source

* handle raise nodes in dfa on jvm, resolves #27416

git-svn-id: trunk@29641 -
florian 10 years ago
parent
commit
c0e66deaf2
1 changed files with 8 additions and 0 deletions
  1. 8 0
      compiler/optdfa.pas

+ 8 - 0
compiler/optdfa.pas

@@ -517,6 +517,10 @@ unit optdfa;
                   end;
                   end;
               end;
               end;
 
 
+{$ifdef JVM}
+            { all other platforms except jvm translate raise nodes into call nodes during pass_1 }
+            raisen,
+{$endif JVM}
             asn,
             asn,
             inlinen,
             inlinen,
             calln:
             calln:
@@ -918,6 +922,10 @@ unit optdfa;
                   end
                   end
               end;
               end;
             { could be the implicitly generated load node for the result }
             { could be the implicitly generated load node for the result }
+{$ifdef JVM}
+            { all other platforms except jvm translate raise nodes into call nodes during pass_1 }
+            raisen,
+{$endif JVM}
             loadn,
             loadn,
             assignn,
             assignn,
             calln,
             calln,