Mercurial > hg > graal-compiler
changeset 7785:f180d2a1c3a4
support graph dumping with being nested in a DebugScope
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 13 Feb 2013 11:37:14 +1000 |
parents | 016e23829147 |
children | 8bbbde9d0a52 |
files | graal/com.oracle.graal.printer/src/com/oracle/graal/printer/GraphPrinterDumpHandler.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/GraphPrinterDumpHandler.java Wed Feb 13 11:36:16 2013 +1000 +++ b/graal/com.oracle.graal.printer/src/com/oracle/graal/printer/GraphPrinterDumpHandler.java Wed Feb 13 11:37:14 2013 +1000 @@ -185,6 +185,9 @@ } } } + if (result.isEmpty()) { + result.add("Top Scope"); + } return result; }