Mercurial > hg > truffle
comparison graal/com.oracle.graal.lir/src/com/oracle/graal/lir/gen/LIRGenerationResult.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 | 1c92d437179b |
children | beb7c10b7747 |
comparison
equal
deleted
inserted
replaced
19021:252067cb86ad | 19022:859ee5dad32c |
---|---|
29 | 29 |
30 /** | 30 /** |
31 * Returns the {@link FrameMapBuilder} for collecting the information to build a | 31 * Returns the {@link FrameMapBuilder} for collecting the information to build a |
32 * {@link FrameMap}. | 32 * {@link FrameMap}. |
33 * | 33 * |
34 * This method can only be used prior calling {@link #buildFrameMap()}. | 34 * This method can only be used prior calling {@link #buildFrameMap}. |
35 */ | 35 */ |
36 FrameMapBuilder getFrameMapBuilder(); | 36 FrameMapBuilder getFrameMapBuilder(); |
37 | 37 |
38 /** | 38 /** |
39 * Creates a {@link FrameMap} out of the {@link FrameMapBuilder}. This method should only be | 39 * Creates a {@link FrameMap} out of the {@link FrameMapBuilder}. This method should only be |
40 * called once. After calling it, {@link #getFrameMapBuilder()} can no longer be used. | 40 * called once. After calling it, {@link #getFrameMapBuilder()} can no longer be used. |
41 * | 41 * |
42 * @see FrameMapBuilder#buildFrameMap | 42 * @see FrameMapBuilder#buildFrameMap |
43 */ | 43 */ |
44 void buildFrameMap(); | 44 void buildFrameMap(StackSlotAllocator allocator); |
45 | 45 |
46 /** | 46 /** |
47 * Returns the {@link FrameMap} associated with this {@link LIRGenerationResult}. | 47 * Returns the {@link FrameMap} associated with this {@link LIRGenerationResult}. |
48 * | 48 * |
49 * This method can only be called after {@link #buildFrameMap()}. | 49 * This method can only be called after {@link #buildFrameMap}. |
50 */ | 50 */ |
51 FrameMap getFrameMap(); | 51 FrameMap getFrameMap(); |
52 | 52 |
53 LIR getLIR(); | 53 LIR getLIR(); |
54 | 54 |