Mercurial > hg > truffle
changeset 19184:3059a52d9614
Add LIR to the context to be used un DumpOnError
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Sat, 07 Feb 2015 02:34:43 +0100 |
parents | f92ea2a54112 |
children | 98967b613c88 |
files | graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Sat Feb 07 02:33:47 2015 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Sat Feb 07 02:34:43 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", lirGen)) { + try (Scope s = Debug.scope("CodeGen", new Object[]{lirGen, lirGen.getLIR()})) { emitCode(backend, assumptions, lirGen, compilationResult, installedCodeOwner, factory); } catch (Throwable e) { throw Debug.handle(e);