# HG changeset patch # User Josef Eisl # Date 1414000792 -7200 # Node ID 95f8dd39821481044e0d54b993332da5250de7f2 # Parent b5a594acff7c5d6a41064ab4d0f99ad081e109ef Call LIRGenerationResult.buildFrameMap() for targets that do not need register allocation. diff -r b5a594acff7c -r 95f8dd398214 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 Wed Oct 22 18:30:22 2014 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Wed Oct 22 19:59:52 2014 +0200 @@ -270,6 +270,9 @@ try (Scope s = Debug.scope("Allocator", nodeLirGen)) { if (backend.shouldAllocateRegisters()) { LinearScan.allocate(target, lirGenRes); + } else { + // build frame map for targets that do not allocate registers + lirGenRes.buildFrameMap(); } } catch (Throwable e) { throw Debug.handle(e);