comparison graal/com.oracle.graal.baseline/src/com/oracle/graal/baseline/BaselineBytecodeParser.java @ 19022:859ee5dad32c

Pass StackSlotAllocator to FrameMapBuilder.buildFrameMap().
author Josef Eisl <josef.eisl@jku.at>
date Wed, 03 Dec 2014 22:55:03 +0100
parents 312cf5a0376e
children beb7c10b7747
comparison
equal deleted inserted replaced
19021:252067cb86ad 19022:859ee5dad32c
155 LinearScan.allocate(target, lirGenRes); 155 LinearScan.allocate(target, lirGenRes);
156 } 156 }
157 } 157 }
158 try (Scope s1 = Debug.scope("BuildFrameMap")) { 158 try (Scope s1 = Debug.scope("BuildFrameMap")) {
159 // build frame map 159 // build frame map
160 lirGenRes.buildFrameMap(); 160 lirGenRes.buildFrameMap(new SimpleStackSlotAllocator());
161 Debug.dump(lir, "After FrameMap building"); 161 Debug.dump(lir, "After FrameMap building");
162 } 162 }
163 try (Scope s1 = Debug.scope("MarkLocations")) { 163 try (Scope s1 = Debug.scope("MarkLocations")) {
164 if (backend.shouldAllocateRegisters()) { 164 if (backend.shouldAllocateRegisters()) {
165 // currently we mark locations only if we do register allocation 165 // currently we mark locations only if we do register allocation