# HG changeset patch # User Josef Eisl # Date 1423567073 -3600 # Node ID e9e99e6f2c6bb9f4dcf9e05fd6ad6d3b1d3b6245 # Parent 5b75ec42c975bee797579c5703f38b6af6a335c9 GraalCompiler.emitBackEnd: do not box objects for scope. diff -r 5b75ec42c975 -r e9e99e6f2c6b 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 Tue Feb 10 14:36:36 2015 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Tue Feb 10 12:17:53 2015 +0100 @@ -276,7 +276,7 @@ try (TimerCloseable a = BackEnd.start()) { LIRGenerationResult lirGen = null; lirGen = emitLIR(backend, target, schedule, graph, stub, cc, registerConfig); - try (Scope s = Debug.scope("CodeGen", new Object[]{lirGen, lirGen.getLIR()})) { + try (Scope s = Debug.scope("CodeGen", lirGen, lirGen.getLIR())) { emitCode(backend, assumptions, lirGen, compilationResult, installedCodeOwner, factory); } catch (Throwable e) { throw Debug.handle(e);