Mercurial > hg > truffle
comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java @ 19092:5e33637f5e5a
Merge StackSlotAllocation cleanups.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Tue, 03 Feb 2015 11:10:24 +0100 |
parents | 173bdcc85ab8 76dd59e530b2 |
children | b3b81dfff200 3059a52d9614 |
comparison
equal
deleted
inserted
replaced
19075:336adcd0070b | 19092:5e33637f5e5a |
---|---|
354 } | 354 } |
355 | 355 |
356 try (Scope s1 = Debug.scope("BuildFrameMap")) { | 356 try (Scope s1 = Debug.scope("BuildFrameMap")) { |
357 // build frame map | 357 // build frame map |
358 final StackSlotAllocator allocator; | 358 final StackSlotAllocator allocator; |
359 if (LSStackSlotAllocator.Options.EnableLSStackSlotAllocation.getValue()) { | 359 if (LSStackSlotAllocator.Options.LSStackSlotAllocation.getValue()) { |
360 allocator = new LSStackSlotAllocator(); | 360 allocator = new LSStackSlotAllocator(); |
361 } else { | 361 } else { |
362 allocator = new SimpleStackSlotAllocator(); | 362 allocator = new SimpleStackSlotAllocator(); |
363 } | 363 } |
364 lirGenRes.buildFrameMap(allocator); | 364 lirGenRes.buildFrameMap(allocator); |