changeset 3126:e8ae455bb538

Do not move deopt point above ExceptionObject!
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 30 Jun 2011 18:53:02 +0200
parents a2b425ca743e
children 0affee9ff3a9
files graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GraphBuilderPhase.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GraphBuilderPhase.java	Thu Jun 30 18:45:44 2011 +0200
+++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/GraphBuilderPhase.java	Thu Jun 30 18:53:02 2011 +0200
@@ -1135,6 +1135,10 @@
                 if (cur.predecessors().size() == 0) {
                     break;
                 }
+
+                if (cur instanceof ExceptionObject) {
+                    break;
+                }
             }
 
             if (cur instanceof If) {