diff graal/GraalCompiler/src/com/sun/c1x/lir/LIRInstruction.java @ 2789:aeccd2af4e9e

Fixes around critical edge split and placeholder removal after goto removal.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 25 May 2011 16:48:28 +0200
parents a2f62de90c76
children 1cd59ca9ac86
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/lir/LIRInstruction.java	Wed May 25 14:33:44 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/lir/LIRInstruction.java	Wed May 25 16:48:28 2011 +0200
@@ -482,7 +482,7 @@
     }
 
     public final LIRBlock exceptionEdge() {
-        return info.exceptionEdge;
+        return (info == null) ? null : info.exceptionEdge;
     }
 
     @Override