# HG changeset patch # User Josef Eisl # Date 1431337372 -7200 # Node ID da76d7a2b3d4117b80b72b174777dc58888f5d57 # Parent e93c6e5c6c355f54278d28817351a44d009f3601 GraalCompiler#emitBackEnd: add schedule into debug scope. diff -r e93c6e5c6c35 -r da76d7a2b3d4 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Mon May 11 20:31:18 2015 -0700 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Mon May 11 11:42:52 2015 +0200 @@ -223,7 +223,7 @@ public static void emitBackEnd(StructuredGraph graph, Object stub, CallingConvention cc, ResolvedJavaMethod installedCodeOwner, Backend backend, TargetDescription target, T compilationResult, CompilationResultBuilderFactory factory, SchedulePhase schedule, RegisterConfig registerConfig, LIRSuites lirSuites) { - try (Scope s = Debug.scope("BackEnd"); DebugCloseable a = BackEnd.start()) { + try (Scope s = Debug.scope("BackEnd", schedule); DebugCloseable a = BackEnd.start()) { // Repeatedly run the LIR code generation pass to improve statistical profiling results. for (int i = 0; i < EmitLIRRepeatCount.getValue(); i++) { SchedulePhase dummySchedule = new SchedulePhase();