# HG changeset patch # User Doug Simon # Date 1407339240 -7200 # Node ID 47f9c47145fd0dfd58810d6ef426a7ef77b19df0 # Parent 2b7e583cfe67b9cba1db594902879f64e7907e55 added "Parsing" debug scope in GraalCompilerTest.parse0 diff -r 2b7e583cfe67 -r 47f9c47145fd 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 Wed Aug 06 15:12:49 2014 +0200 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Wed Aug 06 17:34:00 2014 +0200 @@ -699,9 +699,11 @@ private StructuredGraph parse0(Method m, PhaseSuite graphBuilderSuite) { assert m.getAnnotation(Test.class) == null : "shouldn't parse method with @Test annotation: " + m; ResolvedJavaMethod javaMethod = getMetaAccess().lookupJavaMethod(m); - StructuredGraph graph = new StructuredGraph(javaMethod); - graphBuilderSuite.apply(graph, new HighTierContext(providers, null, null, graphBuilderSuite, OptimisticOptimizations.ALL)); - return graph; + try (Scope ds = Debug.scope("Parsing", javaMethod)) { + StructuredGraph graph = new StructuredGraph(javaMethod); + graphBuilderSuite.apply(graph, new HighTierContext(providers, null, null, graphBuilderSuite, OptimisticOptimizations.ALL)); + return graph; + } } protected PhaseSuite getDefaultGraphBuilderSuite() {