Mercurial > hg > truffle
changeset 4613:09402dddc51e
Make the graph object always available in context (helps debugging problems during LIRGen)
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Feb 2012 20:09:25 +0100 |
parents | d8ff6f2bcabd |
children | a3882fd1ae61 |
files | graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalCompiler.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalCompiler.java Wed Feb 15 20:05:06 2012 +0100 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalCompiler.java Wed Feb 15 20:09:25 2012 +0100 @@ -83,10 +83,10 @@ Debug.dump(this, "compiler"); Debug.dump(method, "method"); - return Debug.scope(createScopeName(method), new Callable<CiTargetMethod>() { + return Debug.scope(createScopeName(method), graph, new Callable<CiTargetMethod>() { public CiTargetMethod call() { final CiAssumptions assumptions = GraalOptions.OptAssumptions ? new CiAssumptions() : null; - final LIR lir = Debug.scope("FrontEnd", graph, new Callable<LIR>() { + final LIR lir = Debug.scope("FrontEnd", new Callable<LIR>() { public LIR call() { return emitHIR(graph, assumptions, plan); }