# HG changeset patch # User Doug Simon # Date 1347980289 -7200 # Node ID aa57aa781e867b6f2d9f8f9d2fc7da9c86c5c3b6 # Parent 6fed95768f8ff4670f0451303889fde9c0a2dc4c fixed small regression in CFGPrinter diff -r 6fed95768f8f -r aa57aa781e86 graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinter.java --- a/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinter.java Mon Sep 17 18:38:38 2012 +0200 +++ b/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinter.java Tue Sep 18 16:58:09 2012 +0200 @@ -419,6 +419,9 @@ * @param block the block to print */ private void printLIR(Block block) { + if (lir == null) { + return; + } List lirInstructions = lir.lir(block); if (lirInstructions == null) { return;