# HG changeset patch # User Doug Simon # Date 1362683907 -3600 # Node ID c78d5f33efaa781661ad0b3e86df913a3f6a454c # Parent 2cd58a5c87917eee4e6ea94d8fa705f1e2b9a07d fixed debug scope for test compilations so that -G:+PrintCFG works again diff -r 2cd58a5c8791 -r c78d5f33efaa graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java --- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Mar 07 11:53:16 2013 +0100 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Thu Mar 07 20:18:27 2013 +0100 @@ -350,7 +350,7 @@ final int id = compilationId++; - InstalledCode installedCode = Debug.scope("Compiling", new DebugDumpScope(String.valueOf(id), true), new Callable() { + InstalledCode installedCode = Debug.scope("Compiling", new Object[]{runtime, new DebugDumpScope(String.valueOf(id), true)}, new Callable() { public InstalledCode call() throws Exception { final boolean printCompilation = GraalOptions.PrintCompilation && !TTY.isSuppressed();