Mercurial > hg > graal-compiler
comparison graal/com.oracle.max.cri/src/com/sun/cri/ri/RiRuntime.java @ 4181:319860ae697a
Simplify FrameMap: make offsets of spill slots and outgoing parameters independent so that they can be allocated at the same time, eliminating the separate phases. This makes the separate StackBlock unnecesary. Change CiStackSlot to use byte offsets instead of spill slot index. This makes CiTarget.spillSlotSize unnecessary.
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Mon, 02 Jan 2012 14:16:08 -0800 |
parents | feb590a8497f |
children | 7703a9f4769f |
comparison
equal
deleted
inserted
replaced
4180:383c1272cd1f | 4181:319860ae697a |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
181 * @return the size of the custom area in bytes | 181 * @return the size of the custom area in bytes |
182 */ | 182 */ |
183 int getCustomStackAreaSize(); | 183 int getCustomStackAreaSize(); |
184 | 184 |
185 /** | 185 /** |
186 * Minimum size of the stack area reserved for outgoing parameters. This area is reserved in all cases, even when | |
187 * the compiled method has no regular call instructions. | |
188 * @return the minimum size of the outgoing parameter area in bytes | |
189 */ | |
190 int getMinimumOutgoingSize(); | |
191 | |
192 /** | |
186 * Gets the length of the array that is wrapped in a CiConstant object. | 193 * Gets the length of the array that is wrapped in a CiConstant object. |
187 */ | 194 */ |
188 int getArrayLength(CiConstant array); | 195 int getArrayLength(CiConstant array); |
189 | 196 |
190 /** | 197 /** |