Mercurial > hg > graal-compiler
changeset 6418:aa57aa781e86
fixed small regression in CFGPrinter
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 18 Sep 2012 16:58:09 +0200 |
parents | 6fed95768f8f |
children | b74402a7079b |
files | graal/com.oracle.graal.printer/src/com/oracle/graal/printer/CFGPrinter.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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<LIRInstruction> lirInstructions = lir.lir(block); if (lirInstructions == null) { return;